summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2013-11-19 14:58:42 +0000
committerAlexander Potapenko <glider@google.com>2013-11-19 14:58:42 +0000
commit2b00289bd616df9a605ea1bae279807113505e11 (patch)
tree0e618ad1950113bedef110cff76816b536f24a06
parent3771a3dd73f2ca527e434fea59b1f97dd471f8da (diff)
downloadbcm5719-llvm-2b00289bd616df9a605ea1bae279807113505e11.tar.gz
bcm5719-llvm-2b00289bd616df9a605ea1bae279807113505e11.zip
[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. llvm-svn: 195132
-rw-r--r--compiler-rt/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
index 4c0476b6b6a..a4424086c69 100644
--- a/compiler-rt/CMakeLists.txt
+++ b/compiler-rt/CMakeLists.txt
@@ -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
OpenPOWER on IntegriCloud