[compiler-rt] r177396 - Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete.

Alexey Samsonov samsonov at google.com
Tue Mar 19 06:34:23 PDT 2013


Author: samsonov
Date: Tue Mar 19 08:34:23 2013
New Revision: 177396

URL: http://llvm.org/viewvc/llvm-project?rev=177396&view=rev
Log:
Don't use --sysroot to linux SDK when building libprofile - SDK on Linux seems to be incomplete.

Modified:
    compiler-rt/trunk/lib/profile/CMakeLists.txt

Modified: compiler-rt/trunk/lib/profile/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/profile/CMakeLists.txt?rev=177396&r1=177395&r2=177396&view=diff
==============================================================================
--- compiler-rt/trunk/lib/profile/CMakeLists.txt (original)
+++ compiler-rt/trunk/lib/profile/CMakeLists.txt Tue Mar 19 08:34:23 2013
@@ -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()





More information about the llvm-commits mailing list