summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorpfaedit <pfaedit>2009-12-26 21:23:36 +0000
committerpfaedit <pfaedit>2009-12-26 21:23:36 +0000
commitd253d24827249fa2d2923730d40355e8ada3f422 (patch)
tree6ae2181d1030b014361242a058aabd9e0422a68d /configure
parente9b13375849515d19c0e00c3210c301ef0df9298 (diff)
Patch by Ryan Hill. Configure didn't work if -O3 were specified (or -O2 specified twice).
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index e5f3a127..f6a0f84d 100755
--- a/configure
+++ b/configure
@@ -22843,7 +22843,7 @@ if test "$gww_archlist" != "" ; then
LDFLAGS="$LDFLAGS $gww_archlist"
fi
-CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O2// | sed -e s/-O//`
+CFLAGS_NOOPT=`echo $CFLAGS | sed -e s/-O.//g | sed -e s/-O//g`
cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in
cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in