Use CPPFLAGS for -I arguments
authorJeremy Kerr <jk@ozlabs.org>
Wed, 31 Dec 2008 06:12:41 +0000 (15:12 +0900)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 31 Dec 2008 06:12:41 +0000 (15:12 +0900)
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
rules.mk

index 475d096df097cdbab9d45682a76ff012f2c4b310..8ccdc5d955456e604fa363c43afa4e57f28a7b4d 100644 (file)
--- a/rules.mk
+++ b/rules.mk
@@ -1,7 +1,7 @@
 
 VPATH = $(srcdir)
 
-CFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir)
+CPPFLAGS += -I$(top_srcdir) -I$(top_srcdir)/lib -I$(builddir)
 
 # we need paths to be overridable at build-time
 DEFS += '-DPREFIX="$(prefix)"' '-DPKG_SHARE_DIR="$(pkgdatadir)"' \