summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2018-01-27 14:39:33 +0200
committerMonty <monty@mariadb.org>2018-01-27 14:39:33 +0200
commit8ff5ddae231d31f0ff721d2fd518f65d96142c21 (patch)
tree562d5bf42d0f715f5a6eedb5ee4dc8e5215a593d /BUILD
parentc09371dce66c48393cb9d1c56f9add23664c772f (diff)
downloadmariadb-git-8ff5ddae231d31f0ff721d2fd518f65d96142c21.tar.gz
Disable rocksdb when building with ASAN
I disabled rocksdb in ASAN build as I got a link error when it's included
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/SETUP.sh2
-rwxr-xr-xBUILD/compile-pentium64-asan-max2
2 files changed, 3 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh
index 3a1a861f2f8..721ed3a4c45 100755
--- a/BUILD/SETUP.sh
+++ b/BUILD/SETUP.sh
@@ -308,3 +308,5 @@ gprof_compile_flags="-O2 -pg -g"
gprof_link_flags="--disable-shared $static_link"
disable_gprof_plugins="--with-zlib-dir=bundled --without-plugin-oqgraph --without-plugin-mroonga"
+
+disable_asan_plugins="--without-plugin-rocksdb"
diff --git a/BUILD/compile-pentium64-asan-max b/BUILD/compile-pentium64-asan-max
index cd5a292d17c..666a0d89d8c 100755
--- a/BUILD/compile-pentium64-asan-max
+++ b/BUILD/compile-pentium64-asan-max
@@ -18,7 +18,7 @@ path=`dirname $0`
. "$path/SETUP.sh"
extra_flags="$pentium64_cflags $debug_cflags -lasan -O -g -fsanitize=address"
-extra_configs="$pentium_configs $debug_configs $valgrind_configs $max_configs"
+extra_configs="$pentium_configs $debug_configs $valgrind_configs $max_configs $disable_asan_plugins"
export LDFLAGS="-ldl"
. "$path/FINISH.sh"