From f92cfae9d885017aea3a41cfa65431c71af106a7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 8 Mar 2016 12:53:23 +0100 Subject: [PATCH] Have --enable-opt use -O3, not -Ofast --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index f2addc03..1f281da7 100644 --- a/configure.ac +++ b/configure.ac @@ -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])