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 | f7ef4087a4bf87618e9b84ff7726f3f08fd018ca (patch) | |
tree | e09753e097c36af43d671aeb8d328e14403a0a78 | |
parent | b20bf366aa045549221c6b0fb3aa7b7fda43b3a5 (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 1f5de95..d19d5f4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -21,7 +21,7 @@ bin_PROGRAMS = xmag -AM_CFLAGS = $(XMAG_CFLAGS) +AM_CFLAGS = $(XMAG_CFLAGS) $(CWARNFLAGS) xmag_LDADD = $(XMAG_LIBS) -lm xmag_SOURCES = \ diff --git a/configure.ac b/configure.ac index 475f772..3d8c6ea 100644 --- a/configure.ac +++ b/configure.ac @@ -42,7 +42,6 @@ AC_CHECK_FUNCS([nanosleep poll select]) # Checks for pkg-config packages PKG_CHECK_MODULES(XMAG, xaw7) -XMAG_CFLAGS="$CWARNFLAGS $XMAG_CFLAGS" AC_SUBST(XMAG_CFLAGS) AC_SUBST(XMAG_LIBS) |