From d740901df014bf2d517ef49db46b6391fb166269 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Tue, 29 Dec 2015 15:46:23 +0100 Subject: [PATCH] Have --enable-opt imply -Ofast --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 6249c205..8a5e71cf 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 -march=native -save-temps" - LDFLAGS="$LDFLAGS -march=native"]) + CFLAGS="$CFLAGS -Ofast -march=native -save-temps" + LDFLAGS="$LDFLAGS -Ofast -march=native"]) ]) AC_SUBST([MAINT])