diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-07-05 17:25:59 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-07-05 17:25:59 +0300 |
commit | 01c1fae327c7ad5f3ed03513e7032d4875d26eb1 (patch) | |
tree | e697e47ec6277bfdd6e14e914ce6524b52d68fc6 /Make.rules | |
parent | 26558bd126a611ca3d1490c0f27c30bf5b99114c (diff) | |
download | apk-tools-01c1fae327c7ad5f3ed03513e7032d4875d26eb1.tar.gz apk-tools-01c1fae327c7ad5f3ed03513e7032d4875d26eb1.tar.bz2 apk-tools-01c1fae327c7ad5f3ed03513e7032d4875d26eb1.tar.xz apk-tools-01c1fae327c7ad5f3ed03513e7032d4875d26eb1.zip |
build: honor CPPFLAGS
Diffstat (limited to 'Make.rules')
-rw-r--r-- | Make.rules | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 $@)) ##### |