diff options
Diffstat (limited to 'lib/profile/CMakeLists.txt')
-rw-r--r-- | lib/profile/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/profile/CMakeLists.txt b/lib/profile/CMakeLists.txt index 641f085c883f..bb4fd9e23a7e 100644 --- a/lib/profile/CMakeLists.txt +++ b/lib/profile/CMakeLists.txt @@ -6,11 +6,11 @@ filter_available_targets(PROFILE_SUPPORTED_ARCH x86_64 i386) if(APPLE) add_compiler_rt_osx_static_runtime(clang_rt.profile_osx ARCH ${PROFILE_SUPPORTED_ARCH} - SOURCES ${PROFILE_SOURCES} - CFLAGS --sysroot=${COMPILER_RT_DARWIN_SDK_SYSROOT}) + SOURCES ${PROFILE_SOURCES}) else() foreach(arch ${PROFILE_SUPPORTED_ARCH}) - add_compiler_rt_static_runtime(clang_rt.profile-${arch} ${arch} + add_compiler_rt_static_runtime(clang_rt.profile-${arch} + ${arch} SOURCES ${PROFILE_SOURCES}) endforeach() endif() |