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
commit57eb4c0f642da8547bb505231a1251d9662fb192 (patch)
tree51611a13fb1f6965621a6a0aa18155273d921d32
parent2930e9f179d1abf9fb276226dd6a527a07d42d39 (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 63d2ed6..72fef22 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@
bin_PROGRAMS = fslsfonts
-AM_CFLAGS = $(FSLSFONTS_CFLAGS)
+AM_CFLAGS = $(FSLSFONTS_CFLAGS) $(CWARNFLAGS)
fslsfonts_LDADD = $(FSLSFONTS_LIBS)
fslsfonts_SOURCES = \
diff --git a/configure.ac b/configure.ac
index 04cc9a3..4a50966 100644
--- a/configure.ac
+++ b/configure.ac
@@ -40,7 +40,6 @@ AC_PROG_INSTALL
# Checks for pkg-config packages
PKG_CHECK_MODULES(FSLSFONTS, x11 libfs)
-FSLSFONTS_CFLAGS="$CWARNFLAGS $FSLSFONTS_CFLAGS"
AC_SUBST(FSLSFONTS_CFLAGS)
AC_SUBST(FSLSFONTS_LIBS)