diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-02-11 10:08:07 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-11 10:08:07 -0500 |
commit | df4fc8e66daef31fb4d6dba92ad2b590043c2c16 (patch) | |
tree | 62b40b69cbea9205c9317841cdde5cd6d2e006c7 | |
parent | 4942d87b8f285b5c297850243f2321fe52417d89 (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.am | 2 | ||||
-rw-r--r-- | configure.ac | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index c7097c9..e6a1df8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xlsfonts -AM_CFLAGS = $(XLSFONTS_CFLAGS) +AM_CFLAGS = $(XLSFONTS_CFLAGS) $(CWARNFLAGS) xlsfonts_LDADD = $(XLSFONTS_LIBS) xlsfonts_SOURCES = \ diff --git a/configure.ac b/configure.ac index 408641f..556a2bd 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,6 @@ AC_PROG_INSTALL # Checks for pkg-config packages PKG_CHECK_MODULES(XLSFONTS, x11) -XLSFONTS_CFLAGS="$CWARNFLAGS $XLSFONTS_CFLAGS" AC_SUBST(XLSFONTS_CFLAGS) AC_SUBST(XLSFONTS_LIBS) |