summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-02-11 10:08:06 -0500
committerGaetan Nadon <memsize@videotron.ca>2010-02-11 10:08:06 -0500
commit72644adfa9acb85e8a777c61a561953b208b9fa7 (patch)
tree7e2e1b49d9ecc4592fd269fca999a32eb27120a0
parentacdba9809861c054988eb0139d9544aefbea5b05 (diff)
config: move CWARNFLAGS from configure.ac to Makefile.am
Compiler warning flags should be explicitly set in the makefile rather than being merged with other packages compiler flags. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r--Makefile.am2
-rw-r--r--configure.ac1
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index c627c49..a8d4424 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = showfont
-AM_CFLAGS = $(SHOWFONT_CFLAGS)
+AM_CFLAGS = $(SHOWFONT_CFLAGS) $(CWARNFLAGS)
showfont_LDADD = $(SHOWFONT_LIBS)
showfont_SOURCES = \
diff --git a/configure.ac b/configure.ac
index 6eb5089..30ac74d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -41,7 +41,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(SHOWFONT, libfs)
-SHOWFONT_CFLAGS="$CWARNFLAGS $SHOWFONT_CFLAGS"
AC_SUBST(SHOWFONT_CFLAGS)
AC_SUBST(SHOWFONT_LIBS)