summaryrefslogtreecommitdiff
path: root/Build-tools
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2005-01-14 15:35:32 +0100
committerunknown <lenz@mysql.com>2005-01-14 15:35:32 +0100
commit18df9d391fefd95b09c508aa161bae014a822353 (patch)
tree7f6e467e93104874511ffca26051176dd1b053fe /Build-tools
parent6d9f637870208e1657bf88a80a49b7d0a9126187 (diff)
downloadmariadb-git-18df9d391fefd95b09c508aa161bae014a822353.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);