summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--compiler-rt/lib/profile/CMakeLists.txt2
-rw-r--r--compiler-rt/lib/safestack/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt
index fabac159676..a21ec3053eb 100644
--- a/compiler-rt/lib/profile/CMakeLists.txt
+++ b/compiler-rt/lib/profile/CMakeLists.txt
@@ -11,7 +11,7 @@ set(PROFILE_SOURCES
InstrProfilingUtil.c)
if(APPLE)
- foreach (os ${SANITIZER_COMMON_SUPPORTED_OS})
+ foreach (os osx)
add_compiler_rt_darwin_runtime(clang_rt.profile_${os} ${os}
STATIC
ARCHS ${PROFILE_SUPPORTED_ARCH}
diff --git a/compiler-rt/lib/safestack/CMakeLists.txt b/compiler-rt/lib/safestack/CMakeLists.txt
index d6969f98b7c..a958470e812 100644
--- a/compiler-rt/lib/safestack/CMakeLists.txt
+++ b/compiler-rt/lib/safestack/CMakeLists.txt
@@ -8,7 +8,7 @@ set(SAFESTACK_CFLAGS ${SANITIZER_COMMON_CFLAGS})
if(APPLE)
# Build universal binary on APPLE.
- foreach (os ${SANITIZER_COMMON_SUPPORTED_OS})
+ foreach (os osx)
add_compiler_rt_darwin_runtime(clang_rt.safestack_${os} ${os}
STATIC
ARCH ${SAFESTACK_SUPPORTED_ARCH}
OpenPOWER on IntegriCloud