summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Make.rules4
1 files 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 $@))
#####