summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul m. p. P <pmpp.pub@gmail.com>2019-06-24 14:11:56 +0200
committerDamien George <damien.p.george@gmail.com>2019-06-25 15:03:41 +1000
commit862cc45a9c3241101c5d89e18063724793f73e43 (patch)
treeabf909861b95a0053e68aa6dd5ec6cff7412f55e
parente06dcad5d385369762f62aeccaff0ae3c6626acf (diff)
py/mkrules.mk: Use $(CPP) not $(CC) -E for preprocessor rule.
-rw-r--r--py/mkrules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/mkrules.mk b/py/mkrules.mk
index 5c214090c..7690c5409 100644
--- a/py/mkrules.mk
+++ b/py/mkrules.mk
@@ -53,7 +53,7 @@ vpath %.c . $(TOP) $(USER_C_MODULES)
$(BUILD)/%.pp: %.c
$(ECHO) "PreProcess $<"
- $(Q)$(CC) $(CFLAGS) -E -Wp,-C,-dD,-dI -o $@ $<
+ $(Q)$(CPP) $(CFLAGS) -Wp,-C,-dD,-dI -o $@ $<
# The following rule uses | to create an order only prerequisite. Order only
# prerequisites only get built if they don't exist. They don't cause timestamp