From 01c1fae327c7ad5f3ed03513e7032d4875d26eb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Fri, 5 Jul 2013 17:25:59 +0300 Subject: [PATCH] build: honor CPPFLAGS --- Make.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Make.rules b/Make.rules index 9fd4862..0f072d1 100644 --- a/Make.rules +++ b/Make.rules @@ -174,8 +174,8 @@ if_changed_rule = $(if $(strip $(any-prereq) $(arg-check) ), \ ##### # Handle options to gcc. -c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CFLAGS_ALL) $(CFLAGS_EXTRA) \ - $(CFLAGS_$(notdir $@)) +c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CPPFLAGS) \ + $(CFLAGS_ALL) $(CFLAGS_EXTRA) $(CFLAGS_$(notdir $@)) ld_flags = $(LDFLAGS_ALL) $(LDFLAGS_EXTRA) $(LDFLAGS_$(notdir $@)) #####