diff options
author | Chris Bieneman <beanz@apple.com> | 2015-10-01 19:26:26 +0000 |
---|---|---|
committer | Chris Bieneman <beanz@apple.com> | 2015-10-01 19:26:26 +0000 |
commit | 28f1c5fda069c69ccf9dd531b837506686d119ac (patch) | |
tree | 234f357be619ddbfb82328d51937bc3677305749 /cmake/config-ix.cmake | |
parent | d6e511a353045e211197d613dd8fd7363bc4d56d (diff) |
[CMake] Only build the simulator builtins if you're also building the device builtins.
This matters because simulator builtins get lipo'd together with the device builtins into a single static archive per-platform.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@249056 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r-- | cmake/config-ix.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake index b1d564d56..683d1844b 100644 --- a/cmake/config-ix.cmake +++ b/cmake/config-ix.cmake @@ -376,7 +376,6 @@ if(APPLE) message(STATUS "iOS Simulator supported arches: ${DARWIN_iossim_ARCHS}") if(DARWIN_iossim_ARCHS) list(APPEND SANITIZER_COMMON_SUPPORTED_OS iossim) - list(APPEND BUILTIN_SUPPORTED_OS iossim) endif() foreach(arch ${DARWIN_iossim_ARCHS}) list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) @@ -405,6 +404,7 @@ if(APPLE) list(APPEND SANITIZER_COMMON_SUPPORTED_OS ios) list(APPEND BUILTIN_SUPPORTED_OS ios) list(APPEND PROFILE_SUPPORTED_OS ios) + list(APPEND BUILTIN_SUPPORTED_OS iossim) endif() foreach(arch ${DARWIN_ios_ARCHS}) list(APPEND COMPILER_RT_SUPPORTED_ARCH ${arch}) |