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 | 5a6a92096883c1618ffb0bfc8c44509e42003044 (patch) | |
tree | 3fd470165515f841b0db797fc8f73f15ea24101b | |
parent | 1ba50ffb7746f902a678865584eb1fd0c946bda5 (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 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) |