summaryrefslogtreecommitdiff
path: root/cmake/os
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/os
parenta1a4e8eec1f7917b2d979f525a738a2cdd28436b (diff)
downloadmariadb-git-3a418242dffe93ee34db388727f67eb498ae48ee.tar.gz
fix TSAN build with Clang
Diffstat (limited to 'cmake/os')
-rw-r--r--cmake/os/Linux.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/os/Linux.cmake b/cmake/os/Linux.cmake
index b0680d92a1b..37a9be9a867 100644
--- a/cmake/os/Linux.cmake
+++ b/cmake/os/Linux.cmake
@@ -34,8 +34,8 @@ ENDFOREACH()
# Ensure we have clean build for shared libraries
# without unresolved symbols
-# Not supported with AddressSanitizer
-IF(NOT WITH_ASAN)
+# Not supported with AddressSanitizer and ThreadSanitizer
+IF(NOT WITH_ASAN AND NOT WITH_TSAN)
SET(LINK_FLAG_NO_UNDEFINED "-Wl,--no-undefined")
ENDIF()