mirror of
https://github.com/isar/libmdbx.git
synced 2024-12-30 01:24:12 +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)
|
if(CC_HAS_FCXX_EXCEPTIONS)
|
||||||
add_compile_flags("CXX" "-fcxx-exceptions" "-frtti")
|
add_compile_flags("CXX" "-fcxx-exceptions" "-frtti")
|
||||||
endif()
|
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")
|
add_compile_flags("C;CXX" "-fno-semantic-interposition")
|
||||||
endif()
|
endif()
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user