build: honor CPPFLAGS

cute-signatures
Timo Teräs 2013-07-05 17:25:59 +03:00
parent 26558bd126
commit 01c1fae327
1 changed files with 2 additions and 2 deletions

View File

@ -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 $@))
#####