summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorEugene Kosov <claprix@yandex.ru>2017-10-06 00:27:40 +0300
committerSergey Vojtovich <svoj@mariadb.org>2017-10-06 10:43:23 +0400
commit3a418242dffe93ee34db388727f67eb498ae48ee (patch)
tree67e1575f9f9ab2c852d3beb306e8235ab3a9ce72 /cmake/plugin.cmake
parenta1a4e8eec1f7917b2d979f525a738a2cdd28436b (diff)
downloadmariadb-git-3a418242dffe93ee34db388727f67eb498ae48ee.tar.gz
fix TSAN build with Clang
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 2a2f206dcef..1c4394d11d2 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -208,7 +208,7 @@ MACRO(MYSQL_ADD_PLUGIN)
ELSEIF(NOT CMAKE_SYSTEM_NAME STREQUAL "Linux")
TARGET_LINK_LIBRARIES (${target} mysqld)
ENDIF()
- ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT WITH_ASAN)
+ ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT WITH_ASAN AND NOT WITH_TSAN)
TARGET_LINK_LIBRARIES (${target} "-Wl,--no-undefined")
ENDIF()