summaryrefslogtreecommitdiff
path: root/lib/profile
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2013-03-19 13:34:23 +0000
committerAlexey Samsonov <samsonov@google.com>2013-03-19 13:34:23 +0000
commite75628e9e9bba6c65b067372d381d9e03560923a (patch)
treedcf09f55db8b2d22ff9e72592638aa12e6b5670c /lib/profile
parent3347dcbe78953a40462d5b5351137a8df4d9f993 (diff)
downloadcompiler-rt-e75628e9e9bba6c65b067372d381d9e03560923a.tar.gz
Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@177396 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/profile')
-rw-r--r--lib/profile/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/profile/CMakeLists.txt b/lib/profile/CMakeLists.txt
index 70fc17506..a9355857e 100644
--- a/lib/profile/CMakeLists.txt
+++ b/lib/profile/CMakeLists.txt
@@ -7,7 +7,6 @@ if(NOT APPLE)
# FIXME: Add support for profile.rt on Mac.
foreach(arch ${PROFILE_SUPPORTED_ARCH})
add_compiler_rt_static_runtime(clang_rt.profile-${arch} ${arch}
- SOURCES ${PROFILE_SOURCES}
- CFLAGS --sysroot=${COMPILER_RT_LINUX_SDK_SYSROOT})
+ SOURCES ${PROFILE_SOURCES})
endforeach()
endif()