diff options
author | Eugene Kosov <claprix@yandex.ru> | 2020-03-23 16:47:43 +0300 |
---|---|---|
committer | Eugene Kosov <claprix@yandex.ru> | 2020-03-23 17:42:57 +0300 |
commit | a7cbce06d432cbcb88e071731089aacfd41750fd (patch) | |
tree | 52e0995a113d51006a2dea5e6a1020cb0e49086d /CMakeLists.txt | |
parent | fb74de97287c1a3db718226a73c01f6334bf2877 (diff) | |
download | mariadb-git-a7cbce06d432cbcb88e071731089aacfd41750fd.tar.gz |
unoptimized -fsanitize=undefined build on clang requires more stack space
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 9bb12f89751..d16252973fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -216,7 +216,7 @@ ENDIF() OPTION(WITH_UBSAN "Enable undefined behavior sanitizer" OFF) IF (WITH_UBSAN) - MY_CHECK_AND_SET_COMPILER_FLAG("-fsanitize=undefined -fno-sanitize=alignment -U_FORTIFY_SOURCE" DEBUG RELWITHDEBINFO) + MY_CHECK_AND_SET_COMPILER_FLAG("-fsanitize=undefined -fno-sanitize=alignment -U_FORTIFY_SOURCE -DWITH_UBSAN" DEBUG RELWITHDEBINFO) ENDIF() OPTION(WITH_MSAN "Enable memory sanitizer" OFF) |