From 82f83ffbfb7c8ea63d04e0b0d655bc251abf4a66 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Sat, 21 Feb 2009 13:44:14 +0000 Subject: [PATCH] [build] Move all the compiler flags to AM_CFLAGS The INCLUDES directive should only contain pre-processor flags, since we're passing it also to the introspection scanner. Using AM_CFLAGS for compiler flags, like debug flags and maintainer flags, is more indicated. --- clutter/Makefile.am | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/clutter/Makefile.am b/clutter/Makefile.am index 3508f1e..d5d4909 100644 --- a/clutter/Makefile.am +++ b/clutter/Makefile.am @@ -33,11 +33,9 @@ INCLUDES = \ -DG_DISABLE_DEPRECATED \ -DG_LOG_DOMAIN=\"Clutter\" \ $(CLUTTER_CFLAGS) \ - $(CLUTTER_DEBUG_CFLAGS) \ - $(MAINTAINER_CFLAGS) \ $(NULL) -AM_CFLAGS=$(GCC_FLAGS) +AM_CFLAGS = $(GCC_FLAGS) $(CLUTTER_DEBUG_CFLAGS) $(MAINTAINER_CFLAGS) LDADD = \ $(CLUTTER_LT_LDFLAGS) \ -- 2.7.4