summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib')
-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