From 5a6a92096883c1618ffb0bfc8c44509e42003044 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 78f68b0..b3e1cd3 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ bin_PROGRAMS = xlogo -AM_CFLAGS = $(XLOGO_CFLAGS) +AM_CFLAGS = $(XLOGO_CFLAGS) $(CWARNFLAGS) xlogo_LDADD = $(XLOGO_LIBS) xlogo_SOURCES = \ diff --git a/configure.ac b/configure.ac index 9d9f7e4..f108a16 100644 --- a/configure.ac +++ b/configure.ac @@ -64,7 +64,6 @@ PKG_CHECK_MODULES(XEXT, xext) XLOGO_CFLAGS="$XLOGO_CFLAGS $XEXT_CFLAGS" XLOGO_LIBS="$XLOGO_LIBS $XEXT_LIBS" -XLOGO_CFLAGS="$CWARNFLAGS $XLOGO_CFLAGS" AC_SUBST(XLOGO_CFLAGS) AC_SUBST(XLOGO_LIBS) -- cgit v1.2.3