diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-11-13 19:14:58 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-11-13 19:14:58 +0000 |
| commit | 4f7f57e1660c9a025d7737bda5d543cc4286227b (patch) | |
| tree | 9f332fd0418392db979091f6f6eece49f9d71646 /compiler-rt | |
| parent | 2fa50a7a05a005935e9b26e803ee96b8f8afb063 (diff) | |
| download | bcm5719-llvm-4f7f57e1660c9a025d7737bda5d543cc4286227b.tar.gz bcm5719-llvm-4f7f57e1660c9a025d7737bda5d543cc4286227b.zip | |
[CMake] [macho_embedded] [builtins] Always use OS X sysroot, even for arm.
Turns out that there are some checks in the backend that change code generation for armv7 if you are building against an iOS sys root. For the macho_embedded builtins we really don't want that.
llvm-svn: 253064
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake index 52f89fd1f7b..f2fbf386610 100644 --- a/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake +++ b/compiler-rt/cmake/Modules/CompilerRTDarwinUtils.cmake @@ -411,11 +411,8 @@ macro(darwin_add_embedded_builtin_libraries) string(TOLOWER "${float_type}_${type}" lib_suffix) foreach(arch ${DARWIN_${float_type}_FLOAT_ARCHS}) set(DARWIN_macho_embedded_SYSROOT ${DARWIN_osx_SYSROOT}) - set(DARWIN_macho_embedded_BUILTIN_MIN_VER_FLAG ${DARWIN_osx_BUILTIN_MIN_VER_FLAG}) set(float_flag) if(${arch} MATCHES "^arm") - set(DARWIN_macho_embedded_SYSROOT ${DARWIN_ios_SYSROOT}) - set(DARWIN_macho_embedded_BUILTIN_MIN_VER_FLAG ${DARWIN_ios_BUILTIN_MIN_VER_FLAG}) # x86 targets are hard float by default, but the complain about the # float ABI flag, so don't pass it unless we're targeting arm. set(float_flag ${${float_type}_FLOAT_FLAG}) |

