py/mkrules.mk: Use $(CPP) not $(CC) -E for preprocessor rule.

This commit is contained in:
Paul m. p. P 2019-06-24 14:11:56 +02:00 committed by Damien George
parent e06dcad5d3
commit 862cc45a9c
1 changed files with 1 additions and 1 deletions

View File

@ -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