diff options
author | Chris Bieneman <beanz@apple.com> | 2015-09-30 20:26:14 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-09-30 20:26:14 +0000 |
commit | d05c45097aa55e83129ca488289fbf825960db7a (patch) | |
tree | 2fcaf730080ab8af6e63b4a695854e87a950b9c2 /cmake/config-ix.cmake | |
parent | d4b232073da9f5eea10e18c5274e59ad071dc954 (diff) |
[CMake] [Darwin] [builtins] Add support for building libclang_rt.10.4.a
This builtin library is used when setting the OS X deployment target to 10.4, which we still support.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@248940 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r-- | cmake/config-ix.cmake | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index a3f2a2acc..ff3627122 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -341,6 +341,17 @@ if(APPLE) set(CAN_TARGET_${arch} 1) endforeach() + # Need to build a 10.4 compatible libclang_rt + set(DARWIN_10.4_SYSROOT ${DARWIN_osx_SYSROOT}) + set(DARWIN_10.4_BUILTIN_MIN_VER 10.4) + set(DARWIN_10.4_BUILTIN_MIN_VER_FLAG + -mmacosx-version-min=${DARWIN_10.4_BUILTIN_MIN_VER}) + set(DARWIN_10.4_SKIP_CC_KEXT On) + list(APPEND BUILTIN_SUPPORTED_OS 10.4) + darwin_test_archs(10.4 + DARWIN_10.4_ARCHS + ${toolchain_arches}) + if(DARWIN_iossim_SYSROOT) set(DARWIN_iossim_CFLAGS ${DARWIN_COMMON_CFLAGS} |