summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Golovin <dima@golovin.in>2017-08-22 14:17:31 +0300
committerTimo Teräs <timo.teras@iki.fi>2017-08-23 08:54:00 +0300
commit04003569c54d3cfce7ae7d06199c2ca1e510f38a (patch)
tree05c2cce416172bd261314cbf373a7dcaaa80570b
parentc099018e01277b720eddafedcb460ef841efee01 (diff)
make preprocessor arguments clang-compatible
-rw-r--r--Make.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/Make.rules b/Make.rules
index 0f072d1..6457d6f 100644
--- a/Make.rules
+++ b/Make.rules
@@ -174,7 +174,7 @@ if_changed_rule = $(if $(strip $(any-prereq) $(arg-check) ), \
#####
# Handle options to gcc.
-c_flags = -Wp,-MD,$(depfile),-MT,$@ $(CPPFLAGS) \
+c_flags = -Wp,-MD,$(depfile) -Wp,-MT,$@ $(CPPFLAGS) \
$(CFLAGS_ALL) $(CFLAGS_EXTRA) $(CFLAGS_$(notdir $@))
ld_flags = $(LDFLAGS_ALL) $(LDFLAGS_EXTRA) $(LDFLAGS_$(notdir $@))