diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-02-16 10:37:21 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-16 10:37:21 -0500 |
commit | 4039c624286061122e3350f9194dba27118ab904 (patch) | |
tree | 8abb6115a9d073cbc2dcbe02bd8df05d84563850 | |
parent | 243b553ace945da0263bb32464dfdc45e0c70c88 (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 | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Makefile.am b/Makefile.am index 7fd732d..781318c 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ lib_LTLIBRARIES = libXau.la -AM_CFLAGS = $(XAU_CFLAGS) +AM_CFLAGS = $(XAU_CFLAGS) $(CWARNFLAGS) INCLUDES = -I${top_srcdir}/include diff --git a/configure.ac b/configure.ac index a786656..9fa1c68 100644 --- a/configure.ac +++ b/configure.ac @@ -44,9 +44,6 @@ AM_PROG_LIBTOOL AC_PROG_MAKE_SET PKG_CHECK_MODULES(XAU, xproto) -XAU_CFLAGS="$CWARNFLAGS $XAU_CFLAGS" -AC_SUBST(XAU_CFLAGS) -AC_SUBST(XAU_LIBS) AC_ARG_ENABLE(xthreads, AC_HELP_STRING([--disable-xthreads], |