diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-23 15:31:24 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-23 15:31:24 +0100 |
commit | db39910f080534159ce8c7d55fa458365de7c3f3 (patch) | |
tree | a0c872edccc12d60bad587b65d5e8eaf374e5060 /BUILD | |
parent | 925942e7af49eebc5ffeff705bb2167eb86a9dcb (diff) | |
download | mariadb-git-db39910f080534159ce8c7d55fa458365de7c3f3.tar.gz |
disable safemalloc for valgrind builds.
always try to use valgrind headers in debug builds.
define HAVE_valgrind for --with-valgrind
fix valgrind check in my_valgrind.h
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/SETUP.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index 6c45c23587f..c9eb1ebc03f 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -148,7 +148,6 @@ fi # Override -DFORCE_INIT_OF_VARS from debug_cflags. It enables the macro # LINT_INIT(), which is only useful for silencing spurious warnings # of static analysis tools. We want LINT_INIT() to be a no-op in Valgrind. -valgrind_flags="-DHAVE_valgrind -DHAVE_purify -USAFEMALLOC" valgrind_flags="$valgrind_flags -UFORCE_INIT_OF_VARS -Wno-uninitialized" valgrind_flags="$valgrind_flags -DMYSQL_SERVER_SUFFIX=-valgrind-max" valgrind_configs="--with-valgrind" |