diff options
author | Mikael Ronstrom <mikael@mysql.com> | 2009-12-08 11:14:51 +0100 |
---|---|---|
committer | Mikael Ronstrom <mikael@mysql.com> | 2009-12-08 11:14:51 +0100 |
commit | 268be884572918ac227573a9fd9eb811d74c1a7d (patch) | |
tree | c2f1fdea2a9f0b1f10348b3f5902750bcc8c5a7b /BUILD | |
parent | 39ca96d26263486aa909095b299052e1ec2f584c (diff) | |
download | mariadb-git-268be884572918ac227573a9fd9eb811d74c1a7d.tar.gz |
Fixed --fast flag on Linux to use -O3
Diffstat (limited to 'BUILD')
-rwxr-xr-x | BUILD/build_mccge.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/BUILD/build_mccge.sh b/BUILD/build_mccge.sh index 3345ac3dcb5..8ca31b2d119 100755 --- a/BUILD/build_mccge.sh +++ b/BUILD/build_mccge.sh @@ -1303,7 +1303,11 @@ set_linux_configs() compiler_flags="$compiler_flags -m32" fi if test "x$fast_flag" != "xno" ; then - compiler_flags="$compiler_flags -O2" + if test "x$fast_flag" = "xyes" ; then + compiler_flags="$compiler_flags -O3" + else + compiler_flags="$compiler_flags -O2" + fi else compiler_flags="$compiler_flags -O0" fi |