summaryrefslogtreecommitdiffstats
path: root/compiler-rt/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
commit45d2f96582363e6b6d9467fb8ac54638e327d8a4 (patch)
tree1cae1634826e706ef1ba756dfdc18ad385d27fa8 /compiler-rt/lib/profile
parent082afc834614c77ee39e719ca84b35beafe19c73 (diff)
downloadbcm5719-llvm-45d2f96582363e6b6d9467fb8ac54638e327d8a4.tar.gz
bcm5719-llvm-45d2f96582363e6b6d9467fb8ac54638e327d8a4.zip
Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete.
llvm-svn: 177396
Diffstat (limited to 'compiler-rt/lib/profile')
-rw-r--r--compiler-rt/lib/profile/CMakeLists.txt3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler-rt/lib/profile/CMakeLists.txt b/compiler-rt/lib/profile/CMakeLists.txt
index 70fc175068d..a9355857eff 100644
--- a/compiler-rt/lib/profile/CMakeLists.txt
+++ b/compiler-rt/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()
OpenPOWER on IntegriCloud