freebsd-ports/print/fontforge/files/patch-configure
Dmitry Marakasov 9c49a4d2ba - Properly produce CFLAGS without optimizations
PR:		139225
Suggested by:	Andriy Gapon
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com> (maintainer)
2009-10-01 13:24:08 +00:00

11 lines
423 B
Text

--- configure.orig 2009-09-23 19:55:22.000000000 -0400
+++ configure 2009-09-28 18:28:15.000000000 -0400
@@ -22843,7 +22843,7 @@
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[0-9]*//g`
cp $ac_confdir/Makefile.dynamic.in $ac_confdir/Makefile.in
cp $ac_confdir/Unicode/Makefile.dynamic.in $ac_confdir/Unicode/Makefile.in