[pinpoint] build: Actually use -Wall



commit 39f3cc4c1e980d001b561258b2de8f7039ddeab9
Author: Damien Lespiau <damien lespiau intel com>
Date:   Thu Aug 4 11:41:25 2011 +0100

    build: Actually use -Wall
    
    Double fail here:
    
    * The MAINTAINER_CFLAGS variable was never exported to the Makefiles
    * The Makefile was using MAINTAINER_FLAGS instead of MAINTAINER_CFLAGS

 Makefile.am  |    2 +-
 configure.ac |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 3cb76c6..41442a7 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,7 +1,7 @@
 SUBDIRS=transitions
 bin_PROGRAMS=pinpoint
 
-AM_CFLAGS = $(DEPS_CFLAGS) $(MAINTAINER_FLAGS) -D_GNU_SOURCE -DPKGDATADIR=\"$(pkgdatadir)/\"
+AM_CFLAGS = $(DEPS_CFLAGS) $(MAINTAINER_CFLAGS) -D_GNU_SOURCE -DPKGDATADIR=\"$(pkgdatadir)/\"
 ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
 
 if USE_DAX
diff --git a/configure.ac b/configure.ac
index 4a95bd5..0ca3092 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,7 @@ AC_HEADER_STDC
 PINPOINT_DEPS="clutter-1.0 >= 1.4 gio-2.0 cairo-pdf pangocairo gdk-pixbuf-2.0"
 
 AS_COMPILER_FLAGS([MAINTAINER_CFLAGS], [-Wall])
+AC_SUBST(MAINTAINER_CFLAGS)
 
 # Do we have clutter compiled for x11?
 PKG_CHECK_EXISTS([clutter-x11-1.0],



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]