From 9388d4661a6e7da03f0a5325a7fe96039fbf2b20 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 11 Feb 2010 10:08:07 -0500 Subject: 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 --- Makefile.am | 2 +- configure.ac | 1 - 2 files changed, 1 insertion(+), 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) -- cgit v1.2.3