Have --enable-opt use -O3, not -Ofast

This commit is contained in:
Frank Denis 2016-03-08 12:53:23 +01:00
parent 7e4f83a54d
commit f92cfae9d8

View File

@ -139,8 +139,8 @@ AC_ARG_ENABLE(opt,
[AS_HELP_STRING(--enable-opt,Optimize for the native CPU - The resulting library will be faster but not portable)],
[
AS_IF([test "x$enableval" = "xyes"], [
CFLAGS="$CFLAGS -Ofast -march=native -save-temps"
LDFLAGS="$LDFLAGS -Ofast -march=native"])
CFLAGS="$CFLAGS -O3 -march=native -save-temps"
LDFLAGS="$LDFLAGS -O3 -march=native"])
])
AC_SUBST([MAINT])