From 90c49184facdda42d4a608ed264f9fde6bd702f9 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Fri, 18 Dec 2015 00:17:13 +0100 Subject: [PATCH] --enable-opt now enables -save-temps; remove -flto --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index def77598..6d87607f 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 -flto -march=native" - LDFLAGS="$LDFLAGS -flto -march=native"]) + CFLAGS="$CFLAGS -march=native -save-temps" + LDFLAGS="$LDFLAGS -march=native"]) ]) AC_SUBST([MAINT])