From ff38f9c6cd9edd942a54dd90ae2bacf7c7986083 Mon Sep 17 00:00:00 2001 From: Tim Vanderhoek Date: Thu, 5 Sep 2002 02:16:02 +0000 Subject: The configure script was trying to modify CFLAGS to prevent both '-O' and '-g' from being included. Under some combinations, this could even cause the resulting CFLAGS to be unuseable. Avoid any illicit touching of the CFLAGS. PR: ports/39317 (Chris Wasser ) --- converters/uulib/files/patch-configure | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 converters/uulib/files/patch-configure (limited to 'converters') diff --git a/converters/uulib/files/patch-configure b/converters/uulib/files/patch-configure new file mode 100644 index 000000000000..42979c293997 --- /dev/null +++ b/converters/uulib/files/patch-configure @@ -0,0 +1,20 @@ + +$FreeBSD$ + +--- configure.orig Wed Sep 4 21:49:57 2002 ++++ configure Wed Sep 4 22:00:32 2002 +@@ -1100,12 +1100,12 @@ + echo $ac_n "checking compiler flags""... $ac_c" 1>&6 + echo "configure:1102: checking compiler flags" >&5 + if test "$optimize" = "yes" ; then +-CFLAGS=`echo $CFLAGS | sed 's/-g//g'` ++#CFLAGS=`echo $CFLAGS | sed 's/-g//g'` + case $CFLAGS in + *"-O"*) + ;; + *) +- CFLAGS="$CFLAGS -O" ++ #CFLAGS="$CFLAGS -O" + ;; + esac + else -- cgit v1.2.3