diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-02-11 10:08:06 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-11 10:08:06 -0500 |
commit | 44b1029b8c28c50768e08651b736c7137ce885df (patch) | |
tree | badb953e344e7593eef8c953cbad431ed922912d | |
parent | 4d72e30530e1ff768999d495aa8c82e8691eaaec (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 8523175..1aa2280 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = viewres -AM_CFLAGS = $(VIEWRES_CFLAGS) +AM_CFLAGS = $(VIEWRES_CFLAGS) $(CWARNFLAGS) viewres_LDADD = $(VIEWRES_LIBS) viewres_SOURCES = \ diff --git a/configure.ac b/configure.ac index 01a0649..1a464ee 100644 --- a/configure.ac +++ b/configure.ac @@ -39,7 +39,6 @@ AC_PROG_INSTALL PKG_CHECK_MODULES(VIEWRES, xaw7) -VIEWRES_CFLAGS="$CWARNFLAGS $VIEWRES_CFLAGS" AC_SUBST(VIEWRES_CFLAGS) AC_SUBST(VIEWRES_LIBS) |