summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorMikael Ronstrom <mikael@mysql.com>2009-12-08 11:14:51 +0100
committerMikael Ronstrom <mikael@mysql.com>2009-12-08 11:14:51 +0100
commitb2439d5cbcd6f7c41b3d48674bed3076f14c0ddb (patch)
treec2f1fdea2a9f0b1f10348b3f5902750bcc8c5a7b /BUILD
parent6d1c5b5563b610186f671981d555261fd9a667c1 (diff)
downloadmariadb-git-b2439d5cbcd6f7c41b3d48674bed3076f14c0ddb.tar.gz
Fixed --fast flag on Linux to use -O3
Diffstat (limited to 'BUILD')
-rwxr-xr-xBUILD/build_mccge.sh6
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