summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgmcgarry <gmcgarry>2008-07-18 14:00:38 +0000
committergmcgarry <gmcgarry>2008-07-18 14:00:38 +0000
commitacfea8f8540704d4f74854088b8b6061241df1fa (patch)
tree7aae458fd91b166a3346a8e4a609ae2f5fc3e6ad
parent9a857fafa5a08510ef6d8ad52d4697d06ba2ee09 (diff)
Cleanup CFLAGS and CPPFLAGS handling. Only pass include paths and defines to cpp and
flags to cc. Always use CFLAGS. Add ADD_CFLAGS which adds extra warnings to build. From Thorsten Glaser.
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index d83711b..2218440 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -17,8 +17,8 @@ datarootdir = @datarootdir@
mandir = @mandir@
strip = @strip@
CC = @CC@
-CFLAGS = @CFLAGS@ $(XFL)
-CPPFLAGS = @CPPFLAGS@ -I${srcdir} -I${top_builddir} -I${builddir} -I${MIPDIR} -I${MDIR}
+CFLAGS = @CFLAGS@ @ADD_CFLAGS@
+CPPFLAGS = @CPPFLAGS@ ${XFL} -I${srcdir} -I${top_builddir} -I${builddir} -I${MIPDIR} -I${MDIR}
LIBS = @LIBS@
LDFLAGS = @LDFLAGS@
LEX = @LEX@