diff options
| author | Alexander Potapenko <glider@google.com> | 2013-11-19 14:58:42 +0000 |
|---|---|---|
| committer | Alexander Potapenko <glider@google.com> | 2013-11-19 14:58:42 +0000 |
| commit | 2b00289bd616df9a605ea1bae279807113505e11 (patch) | |
| tree | 0e618ad1950113bedef110cff76816b536f24a06 | |
| parent | 3771a3dd73f2ca527e434fea59b1f97dd471f8da (diff) | |
| download | bcm5719-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.txt | 2 |
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 |

