summaryrefslogtreecommitdiff
path: root/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-08-31 22:26:02 +0000
committerChris Bieneman <beanz@apple.com>2015-08-31 22:26:02 +0000
commit0b4fba869575e518871e3925ca78707485bdeaa2 (patch)
tree9632d8c4edf3153dab480db1d94c874db6903e52 /cmake/config-ix.cmake
parentf04a02fa8dde85719086c4d0aed45fb3df6ea6b4 (diff)
[CMake] Enable building builtins for iOS and iOS simulator.
Building iOS does respect COMPILER_RT_ENABLE_IOS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@246501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake/config-ix.cmake')
-rw-r--r--cmake/config-ix.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 7fcbe2766..f460fc022 100644
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -285,6 +285,7 @@ if(APPLE)
# Note: In order to target x86_64h on OS X the minimum deployment target must
# be 10.8 or higher.
set(SANITIZER_COMMON_SUPPORTED_OS osx)
+ set(BUILTIN_SUPPORTED_OS osx)
if(NOT SANITIZER_MIN_OSX_VERSION)
string(REGEX MATCH "-mmacosx-version-min=([.0-9]+)"
MACOSX_VERSION_MIN_FLAG "${CMAKE_CXX_FLAGS}")
@@ -346,6 +347,7 @@ if(APPLE)
-isysroot ${IOSSIM_SDK_DIR})
list(APPEND SANITIZER_COMMON_SUPPORTED_OS iossim)
+ list(APPEND BUILTIN_SUPPORTED_OS iossim)
darwin_test_archs(iossim
DARWIN_iossim_ARCHS
${toolchain_arches})
@@ -367,6 +369,7 @@ if(APPLE)
-isysroot ${IOS_SDK_DIR})
list(APPEND SANITIZER_COMMON_SUPPORTED_OS ios)
+ list(APPEND BUILTIN_SUPPORTED_OS ios)
darwin_test_archs(ios
DARWIN_ios_ARCHS
${toolchain_arches})