From 96a593c4a221db4b31041e01053e907bedd60519 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Thu, 11 Feb 2010 10:08:06 -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 cffa4ef..0286e1c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xeyes -AM_CFLAGS = $(XEYES_CFLAGS) +AM_CFLAGS = $(XEYES_CFLAGS) $(CWARNFLAGS) xeyes_LDADD = $(XEYES_LIBS) -lm xeyes_SOURCES = \ diff --git a/configure.ac b/configure.ac index 55a7a1e..49e8e20 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,6 @@ AC_PROG_INSTALL # Checks for pkg-config packages PKG_CHECK_MODULES(XEYES, x11 xt xext xmu) -XEYES_CFLAGS="$CWARNFLAGS $XEYES_CFLAGS" AC_SUBST(XEYES_CFLAGS) AC_SUBST(XEYES_LIBS) -- cgit v1.2.3