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 | ceaddfbd0f55c4863bed9c42fcce1fad0348ad19 (patch) | |
tree | ffab2e791137d870c303e710472bc588de9a3464 | |
parent | 17eeac2a9218f5d22c71d18eee9ec1fe64bdbf5a (diff) | |
download | xorg-lib-libXRes-ceaddfbd0f55c4863bed9c42fcce1fad0348ad19.tar.gz |
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-- | configure.ac | 3 | ||||
-rw-r--r-- | src/Makefile.am | 5 |
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac index 3361c67..8a52f80 100644 --- a/configure.ac +++ b/configure.ac @@ -54,9 +54,6 @@ XORG_DEFAULT_OPTIONS # find the required protocol version RES_VERSION=[`echo $VERSION | sed 's/^\([0-9][0-9]*\.[0-9][0-9]*\).*$/\1/'`] PKG_CHECK_MODULES(XRES, x11 xext xextproto [resourceproto >= $RES_VERSION]) -XRES_CFLAGS="$CWARNFLAGS $XRES_CFLAGS" -AC_SUBST(XRES_CFLAGS) -AC_SUBST(XRES_LIBS) XORG_CHECK_MALLOC_ZERO diff --git a/src/Makefile.am b/src/Makefile.am index a64c939..fd508da 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,7 +5,10 @@ libXRes_la_SOURCES = \ libXRes_la_LIBADD = @XRES_LIBS@ -AM_CFLAGS = $(CWARNFLAGS) @XRES_CFLAGS@ @MALLOC_ZERO_CFLAGS@ +AM_CFLAGS = \ + $(CWARNFLAGS) \ + $(XRES_CFLAGS) \ + $(MALLOC_ZERO_CFLAGS) INCLUDES = -I$(top_srcdir)/include |