From 221bdc409d811b7b432c41e9800149c4cdc446ad Mon Sep 17 00:00:00 2001 From: Erik de Castro Lopo Date: Sat, 26 Jul 2014 18:24:49 +1000 Subject: [PATCH] configure.ac : Set default CFLAGS to something sensible. Preserve the CFLAGS value from the time the configure script is run. --- configure.ac | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index d3c302aa..c81c4d38 100644 --- a/configure.ac +++ b/configure.ac @@ -382,11 +382,7 @@ if test "x$debug" = xtrue; then CFLAGS="-g $CFLAGS" else CPPFLAGS="-DNDEBUG $CPPFLAGS" - if test "x$GCC" = xyes; then - if test "x$user_cflags" = x; then - CFLAGS="-O3 -funroll-loops -Wall -W -Winline" - fi - fi + CFLAGS="-O3 -funroll-loops -Wall -W -Winline $CFLAGS" fi XIPH_GCC_VERSION -- 2.11.4.GIT