Skip to content
Permalink
Browse files

Relax the linker config for all sanitizers

  • Loading branch information...
dr-m committed Aug 19, 2019
1 parent 4dc2ed0 commit b047abe214ccf2c6122943992372005e0208f69c
Showing with 1 addition and 1 deletion.
  1. +1 −1 libmariadb/CMakeLists.txt
@@ -412,7 +412,7 @@ ENDIF()

IF(CMAKE_SYSTEM_NAME MATCHES "Linux" OR
CMAKE_SYSTEM_NAME MATCHES "GNU")
IF (NOT WITH_ASAN AND NOT WITH_TSAN)
IF (NOT WITH_ASAN AND NOT WITH_TSAN AND NOT WITH_UBSAN AND NOT WITH_MSAN)
TARGET_LINK_LIBRARIES (libmariadb "-Wl,--no-undefined")
ENDIF()
SET_TARGET_PROPERTIES(libmariadb PROPERTIES LINK_FLAGS "${CC_BINARY_DIR}/libmariadb/mariadbclient.def")

0 comments on commit b047abe

Please sign in to comment.
You can’t perform that action at this time.