mirror of
https://github.com/isar/libmdbx.git
synced 2024-10-29 23:19:20 +08:00
mdbx-cmake: don't use -fno-semantic-interposition
for CLANG.
This commit is contained in:
parent
92ab17a644
commit
18290489b2
@ -581,7 +581,7 @@ macro(setup_compile_flags)
|
||||
if(CC_HAS_FCXX_EXCEPTIONS)
|
||||
add_compile_flags("CXX" "-fcxx-exceptions" "-frtti")
|
||||
endif()
|
||||
if(CC_HAS_FNO_SEMANTIC_INTERPOSITION)
|
||||
if(CC_HAS_FNO_SEMANTIC_INTERPOSITION AND NOT CMAKE_COMPILER_IS_CLANG)
|
||||
add_compile_flags("C;CXX" "-fno-semantic-interposition")
|
||||
endif()
|
||||
if(MSVC)
|
||||
|
Loading…
Reference in New Issue
Block a user