diff options
author | monty@hundin.mysql.fi <> | 2001-11-29 21:46:51 +0200 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-11-29 21:46:51 +0200 |
commit | ce7a0a029364b688d84ef9860a39b0e89abbc001 (patch) | |
tree | ca1de5e435dc38ba3f7f3b2ae2fb610b292baef0 /Build-tools | |
parent | 7c3f8447c0972fce278ad92302f28af8ce2dee84 (diff) | |
download | mariadb-git-ce7a0a029364b688d84ef9860a39b0e89abbc001.tar.gz |
Fix not critical MyISAM bug in locking.
Free character sets properly (for embedded).
Add missing mutex in HANDLER CLOSE
Diffstat (limited to 'Build-tools')
-rwxr-xr-x | Build-tools/Do-compile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Build-tools/Do-compile b/Build-tools/Do-compile index 76b94f314c8..b3b401d7e8d 100755 --- a/Build-tools/Do-compile +++ b/Build-tools/Do-compile @@ -19,7 +19,7 @@ if ($opt_innodb || $opt_bdb) chomp($host=`hostname`); $full_host_name=$host; -info("Compiling MySQL$version_suffix at $host, stage: $opt_stage\n"); +info("Compiling MySQL$version_suffix at $host$suffix, stage: $opt_stage\n"); $connect_option= ($opt_tcpip ? "--host=$host" : ""); $host =~ /^([^.-]*)/; $host=$1 . $opt_suffix; @@ -36,6 +36,10 @@ if (defined($gcc_version) && ! $opt_config_env) { $opt_config_env= 'CC=gcc CFLAGS="-O2 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O2 -fno-omit-frame-pointer"'; } + elsif ($tmp =~ /version 3\.0\./) + { + $opt_config_env= 'CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"'; + } else { $opt_config_env= 'CC=gcc CFLAGS="-O3 -fno-omit-frame-pointer" CXX=gcc CXXFLAGS="-O3 -fno-omit-frame-pointer -felide-constructors -fno-exceptions -fno-rtti"'; @@ -107,7 +111,6 @@ $|=1; safe_cd("$host"); if ($opt_stage == 0 && ! $opt_use_old_distribution) { - my ($name); safe_system("gunzip < $opt_distribution | $tar xf -"); # Fix file times; This is needed because the time for files may be |