From 268be884572918ac227573a9fd9eb811d74c1a7d Mon Sep 17 00:00:00 2001 From: Mikael Ronstrom Date: Tue, 8 Dec 2009 11:14:51 +0100 Subject: Fixed --fast flag on Linux to use -O3 --- BUILD/build_mccge.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'BUILD/build_mccge.sh') 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 -- cgit v1.2.1