mirror of
https://github.com/Relintai/osxcross.git
synced 2025-03-09 07:46:59 +01:00
build_compiler_rt.sh: Do not attempt to build an x86_64h slice when using an SDK with .tbd stubs.
This is an Xcode 7 regression. More details can be found at: https://llvm.org/bugs/show_bug.cgi?id=24776
This commit is contained in:
parent
0ba6a543dd
commit
a83a2b12be
@ -81,6 +81,11 @@ $SED -i "s/Configs += cc_kext_ios5//g" make/platform/clang_darwin.mk
|
||||
$SED -i "s/Configs += profile_ios//g" make/platform/clang_darwin.mk
|
||||
$SED -i "s/Configs += asan_iossim_dynamic//g" make/platform/clang_darwin.mk
|
||||
|
||||
if [ -f "$OSXCROSS_SDK/usr/lib/libSystem.B.tbd" ]; then
|
||||
# https://llvm.org/bugs/show_bug.cgi?id=24776
|
||||
$SED -i "s/x86_64 x86_64h,/x86_64,/g" make/platform/clang_darwin.mk
|
||||
fi
|
||||
|
||||
# Unbreak the -Werror build.
|
||||
if [ -f lib/asan/asan_mac.h ]; then
|
||||
$SED -i "s/ASAN__MAC_H/ASAN_MAC_H/g" lib/asan/asan_mac.h
|
||||
|
Loading…
Reference in New Issue
Block a user