diff options
author | Tim Vanderhoek <hoek@FreeBSD.org> | 2002-09-05 02:16:02 +0000 |
---|---|---|
committer | Tim Vanderhoek <hoek@FreeBSD.org> | 2002-09-05 02:16:02 +0000 |
commit | ff38f9c6cd9edd942a54dd90ae2bacf7c7986083 (patch) | |
tree | 64635789e07e67c6c0e2f8dcd1695564535420c5 /converters | |
parent | c1aa52084bd17cf1109234c07b2db9746ff2fed6 (diff) | |
download | ports-ff38f9c6cd9edd942a54dd90ae2bacf7c7986083.tar.gz ports-ff38f9c6cd9edd942a54dd90ae2bacf7c7986083.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>)
Notes
Notes:
svn path=/head/; revision=65630
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 |