summaryrefslogtreecommitdiff
path: root/lib/profile
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-06-25 00:37:28 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-06-25 00:37:28 +0000
commite97262dc8ddfc6aa52871692569059b17c01d193 (patch)
tree321169b5341abd543ed642eca35c1c9bf796441c /lib/profile
parentfb53992c309ed7b9cb2bf15343bf347fead90c02 (diff)
Remove the sysroot restriction from building GCDAProfiling.c.
We really need the C standard library to be available to implement the profiling runtime library reasonably, and replicating everything in the SDKs tree really isn't addressing any problems we have. Notably, all of the sanitizer runtimes take the same approach, and this isn't a library which could end up in a bootstrapping problem where the system headers aren't even available. This will hopefully prevent subsequent changes which start using various other bits of C standard library to make things more debuggable. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@184798 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile')
-rw-r--r--lib/profile/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/profile/CMakeLists.txt b/lib/profile/CMakeLists.txt
index 641f085c8..bb4fd9e23 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()