summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorlenz@mysql.com <>2005-01-14 15:35:32 +0100
committerlenz@mysql.com <>2005-01-14 15:35:32 +0100
commit57b92c20429fd6961340162a6dea6f2a4b1d4215 (patch)
tree7f6e467e93104874511ffca26051176dd1b053fe /Build-tools
parent080869f9957538492eb11301269b7fe1c0a33c7a (diff)
downloadmariadb-git-57b92c20429fd6961340162a6dea6f2a4b1d4215.tar.gz
- make sure to enable "--without-ndb-debug" when both --debug and
--with-cluster are provided. Yes, this sounds like a contradiction - enabling debugging in NBD enables code parts that may still reveal portability issues when compiled with non-gcc compilers. (request by TomasU)
Diffstat (limited to 'Build-tools')
-rwxr-xr-xBuild-tools/Do-compile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile
index 1e7041e8f7a..b431f9fc1c5 100755
--- a/Build-tools/Do-compile
+++ b/Build-tools/Do-compile
@@ -264,7 +264,8 @@ if ($opt_stage <= 1)
$opt_config_options.= " --with-berkeley-db" if ($opt_bdb);
$opt_config_options.= " --with-zlib-dir=bundled" if ($opt_bundled_zlib);
$opt_config_options.= " --with-client-ldflags=-all-static" if ($opt_static_client);
- $opt_config_options.= " --with-debug" if ($opt_with_debug);
+ $opt_config_options.= " --with-debug" if ($opt_with_debug);
+ $opt_config_options.= " --without-ndb-debug" if ($opt_with_debug && $opt_with_cluster);
$opt_config_options.= " --with-libwrap" if ($opt_libwrap);
$opt_config_options.= " --with-low-memory" if ($opt_with_low_memory);
$opt_config_options.= " --with-mysqld-ldflags=-all-static" if ($opt_static_server);