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 | 9388d4661a6e7da03f0a5325a7fe96039fbf2b20 (patch) | |
tree | 72d993d49dc71eff4664a938a35a58bace573d08 | |
parent | 97cb7b01d5628c8b36769816bbc956a8b0c94980 (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 d57ed06..a1d017d 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xstdcmap -AM_CFLAGS = $(XSTDCMAP_CFLAGS) -D_BSD_SOURCE +AM_CFLAGS = $(XSTDCMAP_CFLAGS) -D_BSD_SOURCE $(CWARNFLAGS) xstdcmap_LDADD = $(XSTDCMAP_LIBS) xstdcmap_SOURCES = \ diff --git a/configure.ac b/configure.ac index fbfdfc6..69ed260 100644 --- a/configure.ac +++ b/configure.ac @@ -38,7 +38,6 @@ AC_PROG_INSTALL # Checks for pkg-config packages PKG_CHECK_MODULES(XSTDCMAP, xmu x11) -XSTDCMAP_CFLAGS="$CWARNFLAGS $XSTDCMAP_CFLAGS" AC_SUBST(XSTDCMAP_CFLAGS) AC_SUBST(XSTDCMAP_LIBS) |