From b58ff2ffc100b895ef1b071cee2f88077b9b6d23 Mon Sep 17 00:00:00 2001 From: Mike Alexander Date: Sun, 24 Jun 2012 02:58:01 +0000 Subject: [PATCH] Don't lose optimization flags passed in CFLAGS. Change r17720 has a typo that causes it to lose all -Ox flags passed in CFLAGS when it was actually trying to preserve them. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22236 57a11ea4-9604-0410-9ed3-97b8803252fd --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4eb4367c74..6eaddccf28 100644 --- a/configure.ac +++ b/configure.ac @@ -48,7 +48,7 @@ USER_OPTIMIZATION="" for flag in $CFLAGS; do tmp_flag=`echo $flag | sed -e 's,-O.,,'` if test -z "$tmp_flag"; then - USER_OPTIMIZATION="$USER_OPTIMIZATION ${tmp_flag}" + USER_OPTIMIZATION="$USER_OPTIMIZATION ${flag}" fi done