diff options
author | unknown <jonas@perch.ndb.mysql.com> | 2006-08-02 09:08:21 +0200 |
---|---|---|
committer | unknown <jonas@perch.ndb.mysql.com> | 2006-08-02 09:08:21 +0200 |
commit | 2bb490829bdfc58baf61c90514b15f3d77abaef6 (patch) | |
tree | 14474946f76bf31b3a6a59f4c8b958cfbd075faf /BUILD | |
parent | 1d2369c837693b350fc2dbda8736975539d60718 (diff) | |
download | mariadb-git-2bb490829bdfc58baf61c90514b15f3d77abaef6.tar.gz |
ndb -
Make possible to build both debug/release from compile-ndb-autotest
BUILD/compile-ndb-autotest:
Make possible to build both debug/release from compile-ndb-autotest
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/compile-ndb-autotest | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/BUILD/compile-ndb-autotest b/BUILD/compile-ndb-autotest index 3ef0091c155..be28cc28346 100755 --- a/BUILD/compile-ndb-autotest +++ b/BUILD/compile-ndb-autotest @@ -3,7 +3,17 @@ path=`dirname $0` . "$path/SETUP.sh" -extra_flags="$fast_cflags $max_cflags -g" -extra_configs="$max_configs --with-ndb-test --with-ndb-ccflags="-DERROR_INSERT"" +extra_configs="$max_configs --with-ndb-test --with-ndb-ccflags='-DERROR_INSERT'" +if [ "$full_debug" ] +then + extra_flags="$debug_cflags" + c_warnings="$c_warnings $debug_extra_warnings" + cxx_warnings="$cxx_warnings $debug_extra_warnings" + extra_configs="$debug_configs $extra_configs" +else + extra_flags="$fast_cflags" +fi + +extra_flags="$extra_flags $max_cflags -g" . "$path/FINISH.sh" |