diff options
author | Michael Widenius <monty@askmonty.org> | 2009-03-22 14:16:09 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2009-03-22 14:16:09 +0200 |
commit | 46db8aac44737fc9b8b07283140c6d0add4d1789 (patch) | |
tree | ba0081fdba288f6a0a7e37d4cca041bc92cbdfdf /BUILD/SETUP.sh | |
parent | 806ec1b06206bb4f1ee41087b09c475be67d449d (diff) | |
download | mariadb-git-46db8aac44737fc9b8b07283140c6d0add4d1789.tar.gz |
Apply patch by Antony Dovgal:
- Move SAFE_MUTEX to be stored in config.h by configure.in (not as a flag used with compiler command line)
- Generate my_config.h in configure
BUILD/SETUP.sh:
Remove -DSAFE_MUTEX as the following --with-debug flag will automaticly add it
BUILD/compile-ia64-debug-max:
Remove -DSAFE_MUTEX as the following --with-debug flag will automaticly add it
configure.in:
Move SAFE_MUTEX and SAFE_MALLOC to [my_] config.h
Generate my_config.h as part of configure process
dbug/dbug.c:
Include my_global.h before we undef SAFE_MUTEX
include/Makefile.am:
Update comment. For now, lets generate my_config.h if someone deletes it after configure
mysys/my_wincond.c:
Include my_global.h before we undef SAFE_MUTEX
mysys/my_winthread.c:
Include my_global.h before we undef SAFE_MUTEX
Diffstat (limited to 'BUILD/SETUP.sh')
-rwxr-xr-x | BUILD/SETUP.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BUILD/SETUP.sh b/BUILD/SETUP.sh index a4dc75f50fb..12f80c40e9f 100755 --- a/BUILD/SETUP.sh +++ b/BUILD/SETUP.sh @@ -124,7 +124,7 @@ valgrind_flags="$valgrind_flags -DMYSQL_SERVER_SUFFIX=-valgrind-max" # # Used in -debug builds debug_cflags="-DUNIV_MUST_NOT_INLINE -DEXTRA_DEBUG -DFORCE_INIT_OF_VARS " -debug_cflags="$debug_cflags -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC -DSAFE_MUTEX" +debug_cflags="$debug_cflags -DSAFEMALLOC -DPEDANTIC_SAFEMALLOC" error_inject="--with-error-inject " # # Base C++ flags for all builds |