projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5e4a03a
)
Set the default SANITIZER_CXX_ABI library to libc++ for FreeBSD, and
author
Dimitry Andric
<dimitry@andric.com>
Sun, 23 Dec 2018 11:49:47 +0000
(11:49 +0000)
committer
Dimitry Andric
<dimitry@andric.com>
Sun, 23 Dec 2018 11:49:47 +0000
(11:49 +0000)
also mark it as a system library, like on macOS.
llvm-svn: 350020
compiler-rt/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/compiler-rt/CMakeLists.txt
b/compiler-rt/CMakeLists.txt
index
4697dba
..
ab69c51
100644
(file)
--- a/
compiler-rt/CMakeLists.txt
+++ b/
compiler-rt/CMakeLists.txt
@@
-200,7
+200,7
@@
set(CXXABIS none default libstdc++ libc++)
set_property(CACHE SANITIZER_CXX_ABI PROPERTY STRINGS ;${CXXABIS})
if (SANITIZER_CXX_ABI STREQUAL "default")
- if (APPLE)
+ if (APPLE
OR CMAKE_SYSTEM_NAME MATCHES "FreeBSD"
)
set(SANITIZER_CXX_ABI_LIBNAME "libc++")
set(SANITIZER_CXX_ABI_SYSTEM 1)
elseif (FUCHSIA)