1
0
mirror of https://github.com/MariaDB/server.git synced 2025-10-28 17:15:19 +03:00

Fixed --fast flag on Linux to use -O3

This commit is contained in:
Mikael Ronstrom
2009-12-08 11:14:51 +01:00
parent 6d1c5b5563
commit b2439d5cbc

View File

@@ -1303,7 +1303,11 @@ set_linux_configs()
compiler_flags="$compiler_flags -m32" compiler_flags="$compiler_flags -m32"
fi fi
if test "x$fast_flag" != "xno" ; then 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 else
compiler_flags="$compiler_flags -O0" compiler_flags="$compiler_flags -O0"
fi fi