summaryrefslogtreecommitdiff
path: root/cmake/os
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-11 11:45:33 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-11 11:45:33 +0200
commit3ea49d35bd93c515f3da55b846850ba1125971a0 (patch)
tree6ac151cd540109709f3f89e6fdd0ecb324781dd8 /cmake/os
parentab7e2b048d7d0835ae7473873169b7606114348e (diff)
parent2a2ab121b0f65cdc4b104ec763d23f1b7035a644 (diff)
downloadmariadb-git-3ea49d35bd93c515f3da55b846850ba1125971a0.tar.gz
Merge 10.1 into 10.2
Diffstat (limited to 'cmake/os')
-rw-r--r--cmake/os/Linux.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/os/Linux.cmake b/cmake/os/Linux.cmake
index 6c846570ea7..f0e783afae8 100644
--- a/cmake/os/Linux.cmake
+++ b/cmake/os/Linux.cmake
@@ -35,7 +35,7 @@ ENDFOREACH()
# Ensure we have clean build for shared libraries
# without unresolved symbols
# Not supported with AddressSanitizer
-IF(NOT WITH_ASAN)
+IF(NOT WITH_ASAN AND NOT WITH_UBSAN)
SET(LINK_FLAG_NO_UNDEFINED "-Wl,--no-undefined")
ENDIF()