mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-14 09:58:50 +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()
|
endfunction()
|
||||||
|
|
||||||
function(static_link_libcxx out)
|
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)
|
set("${out}" OFF PARENT_SCOPE)
|
||||||
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
|
||||||
default_linker(linker)
|
default_linker(linker)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user