diff options
author | hoek <hoek@FreeBSD.org> | 2002-09-05 10:16:02 +0800 |
---|---|---|
committer | hoek <hoek@FreeBSD.org> | 2002-09-05 10:16:02 +0800 |
commit | 38ea8a99339febf72c6d5c55a68147c75504ecbe (patch) | |
tree | 4c7064ca130bc7c25cb836ea9e7ad725023c684d /converters | |
parent | e59c4f4c2cd0daa24f6d4fb49dec27cb6cd2fac4 (diff) | |
download | freebsd-ports-gnome-38ea8a99339febf72c6d5c55a68147c75504ecbe.tar.gz freebsd-ports-gnome-38ea8a99339febf72c6d5c55a68147c75504ecbe.tar.zst freebsd-ports-gnome-38ea8a99339febf72c6d5c55a68147c75504ecbe.zip |
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 <cwasser@shaw.ca>)
Diffstat (limited to 'converters')
-rw-r--r-- | converters/uulib/files/patch-configure | 20 |
1 files changed, 20 insertions, 0 deletions
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 |