r22236 - gnucash/trunk - Don't lose optimization flags passed in CFLAGS.
Mike Alexander
mta at code.gnucash.org
Sat Jun 23 22:58:01 EDT 2012
Author: mta
Date: 2012-06-23 22:58:01 -0400 (Sat, 23 Jun 2012)
New Revision: 22236
Trac: http://svn.gnucash.org/trac/changeset/22236
Modified:
gnucash/trunk/configure.ac
Log:
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.
Modified: gnucash/trunk/configure.ac
===================================================================
--- gnucash/trunk/configure.ac 2012-06-23 14:42:35 UTC (rev 22235)
+++ gnucash/trunk/configure.ac 2012-06-24 02:58:01 UTC (rev 22236)
@@ -48,7 +48,7 @@
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
More information about the gnucash-changes
mailing list