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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user