build: honor CPPFLAGS
parent
26558bd126
commit
01c1fae327
|
@ -174,8 +174,8 @@ if_changed_rule = $(if $(strip $(any-prereq) $(arg-check) ), \
|
||||||
#####
|
#####
|
||||||
# Handle options to gcc.
|
# Handle options to gcc.
|
||||||
|
|
||||||
c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CFLAGS_ALL) $(CFLAGS_EXTRA) \
|
c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CPPFLAGS) \
|
||||||
$(CFLAGS_$(notdir $@))
|
$(CFLAGS_ALL) $(CFLAGS_EXTRA) $(CFLAGS_$(notdir $@))
|
||||||
ld_flags = $(LDFLAGS_ALL) $(LDFLAGS_EXTRA) $(LDFLAGS_$(notdir $@))
|
ld_flags = $(LDFLAGS_ALL) $(LDFLAGS_EXTRA) $(LDFLAGS_$(notdir $@))
|
||||||
|
|
||||||
#####
|
#####
|
||||||
|
|
Loading…
Reference in New Issue