[compiler-rt] r195132 - [ASan] Use -isysroot instead of -Wl, -syslibroot to link the ASan iossim runtime
Alexander Potapenko
glider at google.com
Tue Nov 19 06:58:42 PST 2013
Author: glider
Date: Tue Nov 19 08:58:42 2013
New Revision: 195132
URL: http://llvm.org/viewvc/llvm-project?rev=195132&view=rev
Log:
[ASan] Use -isysroot instead of -Wl,-syslibroot to link the ASan iossim runtime
(-Wl,-syslibroot was accidentally overridden by -isysroot from Clang on OSX 10.9)
-isysroot is a Clang/LLVM-GCC-specific option, but hosting libsanitizer for LLVM
with GCC on Darwin shouldn't work anyway, because of the missing blocks support.
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=195132&r1=195131&r2=195132&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Tue Nov 19 08:58:42 2013
@@ -204,7 +204,7 @@ if(APPLE)
set(DARWIN_iossim_LINKFLAGS
-Wl,-ios_simulator_version_min,7.0.0
-mios-simulator-version-min=7.0
- -Wl,-syslibroot,${IOSSIM_SDK_DIR})
+ -isysroot ${IOSSIM_SDK_DIR})
endif()
# Architectures supported by Sanitizer runtimes. Specific sanitizers may
More information about the llvm-commits
mailing list