mdbx-cmake: don't use -fno-semantic-interposition for CLANG.

This commit is contained in:
Леонид Юрьев (Leonid Yuriev) 2022-02-02 19:22:50 +03:00
parent 92ab17a644
commit 18290489b2

View File

@ -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)