summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2015-09-30 21:23:22 +0000
committerChris Bieneman <beanz@apple.com>2015-09-30 21:23:22 +0000
commitb1ff6e4260dfe4cce64a2ebb425360f706aeb42b (patch)
treede35ee4b984b6d729847b4f43f8e773163d18c49 /compiler-rt/lib
parent47128f3af7398444044518f9d6021ac49ca795c8 (diff)
downloadbcm5719-llvm-b1ff6e4260dfe4cce64a2ebb425360f706aeb42b.tar.gz
bcm5719-llvm-b1ff6e4260dfe4cce64a2ebb425360f706aeb42b.zip
[CMake] [Darwin] Add and populate PROFILE_SUPPORTED_OS to enable building libclang_rt.profile for iOS.
llvm-svn: 248948
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/profile/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt
index fe1afcc75c1..b9f5b0fbbc8 100644
--- a/compiler-rt/lib/profile/CMakeLists.txt
+++ b/compiler-rt/lib/profile/CMakeLists.txt
@@ -13,7 +13,7 @@ set(PROFILE_SOURCES
if(APPLE)
add_compiler_rt_runtime(clang_rt.profile
STATIC
- OS osx
+ OS ${PROFILE_SUPPORTED_OS}
ARCHS ${PROFILE_SUPPORTED_ARCH}
SOURCES ${PROFILE_SOURCES}
PARENT_TARGET profile)
OpenPOWER on IntegriCloud