freebsd-ports/games/seahaven/files/patch-configure
Dmitry Sivachenko 9644310ec5 Respect CFLAGS.
MAINTAINER timeout.
2002-09-05 23:03:53 +00:00

14 lines
574 B
Text

--- configure Sat Aug 17 12:15:42 2002
+++ configure.orig Sat Aug 17 12:15:20 2002
@@ -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="$CFLAGS $X_CFLAGS"
CFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS"
- CXXFLAGS="-Wall -Wno-return-type -O2 $X_CFLAGS"
+ CXXFLAGS="$CXXFLAGS $X_CFLAGS"
CXXFLAGS_D="-Wall -Wno-return-type -g -DDEBUG $X_CFLAGS"
else
if test "`(uname) 2>/dev/null`" = IRIX; then