mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 01:42:37 +08:00
Disable static linking for tsan
This commit is contained in:
parent
4cf75e33c7
commit
cdc16a8610
@ -32,7 +32,10 @@ function(use_libcxx out)
|
||||
endfunction()
|
||||
|
||||
function(static_link_libcxx out)
|
||||
if(APPLE)
|
||||
if(USE_TSAN)
|
||||
# Libc/libstdc++ static linking is not supported for tsan
|
||||
set("${out}" OFF PARENT_SCOPE)
|
||||
elseif(APPLE)
|
||||
set("${out}" OFF PARENT_SCOPE)
|
||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||
default_linker(linker)
|
||||
|
Loading…
x
Reference in New Issue
Block a user