1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/x11-wm/flwm/files/patch-ab
Satoshi Taoka 2e7d0bd39f Update to version 0.22
PR:		11143
Submitted by:	Chris Piazza cpiazza@home.net
1999-04-16 06:21:02 +00:00

27 lines
883 B
Plaintext

--- configure.orig Wed Apr 14 18:54:10 1999
+++ configure Wed Apr 14 18:56:19 1999
@@ -813,9 +813,9 @@
if test "$ac_test_CXXFLAGS" = set; then
CXXFLAGS="$ac_save_CXXFLAGS"
elif test $ac_cv_prog_cxx_g = yes; then
- CXXFLAGS="-g -O2"
+ CXXFLAGS="$CXXFLAGS"
else
- CXXFLAGS="-O2"
+ CXXFLAGS="$CXXFLAGS"
fi
else
GXX=
@@ -1805,9 +1805,9 @@
if test -n "$GXX"; then
# GNU C compiler
# -Wno-return-type is necessary for Xlib header files on many systems:
- CFLAGS="-Wall -Wno-return-type -O2 $X_CFLAGS"
+ CFLAGS="-Wall -Wno-return-type $CFLAGS $X_CFLAGS"
CFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS"
- CXXFLAGS="-Wall -Wno-return-type -O2 $X_CFLAGS"
+ CXXFLAGS="-Wall -Wno-return-type $CXXFLAGS $X_CFLAGS"
CXXFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS"
else
if test "`(uname) 2>/dev/null`" = IRIX; then