freebsd-ports/games/torcs/files/patch-configure
2008-12-31 15:02:03 +00:00

18 lines
523 B
Text

--- configure.orig 2008-11-23 14:50:12.000000000 +0100
+++ configure 2008-12-30 12:51:52.000000000 +0100
@@ -5633,12 +5633,12 @@
fi
#CFLAGS="-ansi -Wall -Wstrict-prototypes -W"
-ADDCFLAGS="-Wall -fPIC -fno-strict-aliasing"
+ADDCFLAGS="$CFLAGS -Wall -fPIC -fno-strict-aliasing"
# Check whether --enable-debug was given.
if test "${enable_debug+set}" = set; then
enableval=$enable_debug; ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT"
-else
- ADDCFLAGS="$ADDCFLAGS -O2"
+#else
+# ADDCFLAGS="$ADDCFLAGS -O2"
fi