aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-12-02 17:24:46 +0000
committerWilmer van der Gaast <wilmer@gaast.net>2007-12-02 17:24:46 +0000
commit911cc4f16e96c1ea9027bb12b024531a4b588038 (patch)
tree3a6ce92380bb7b64974d290d016cd552e66eadee
parent4306d8b066d335cb6667414bdd6c5b2e78ccbfd5 (diff)
Defining DEBUG via CFLAGS so that it'll always be there, even when a file
doesn't include config.h.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index b84f3947..15e22623 100755
--- a/configure
+++ b/configure
@@ -134,7 +134,7 @@ EOF
if [ "$debug" = "1" ]; then
[ -z "$CFLAGS" ] && CFLAGS=-g
echo 'DEBUG=1' >> Makefile.settings
- echo '#define DEBUG' >> config.h
+ CFLAGS="$CFLAGS -DDEBUG"
else
[ -z "$CFLAGS" ] && CFLAGS="-O2 -fno-strict-aliasing"
fi