summaryrefslogtreecommitdiff
path: root/cmake/plugin.cmake
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-03-11 17:49:36 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-03-11 17:49:36 +0200
commit814205f306cad8a4b3e55785616ea69a027fef9d (patch)
treef70402682975e8c6a99ea34a7b1ff3dd9ba73b32 /cmake/plugin.cmake
parent89b463ee99c22e69fe4adf686e0d61cd20973c49 (diff)
parent28e713dc12881e7f50207d0c642523ca3e630114 (diff)
downloadmariadb-git-814205f306cad8a4b3e55785616ea69a027fef9d.tar.gz
Merge 10.2 into 10.3
Diffstat (limited to 'cmake/plugin.cmake')
-rw-r--r--cmake/plugin.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/plugin.cmake b/cmake/plugin.cmake
index 5b3bac773e1..1252a796ba6 100644
--- a/cmake/plugin.cmake
+++ b/cmake/plugin.cmake
@@ -1,5 +1,5 @@
# Copyright (c) 2009, 2018, Oracle and/or its affiliates.
-# Copyright (c) 2011, 2018, MariaDB Corporation
+# Copyright (c) 2011, 2019, MariaDB Corporation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -209,7 +209,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 AND NOT WITH_TSAN)
+ ELSEIF(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT WITH_ASAN AND NOT WITH_TSAN AND NOT WITH_UBSAN)
TARGET_LINK_LIBRARIES (${target} "-Wl,--no-undefined")
ENDIF()