mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
py/mkrules.mk: Use $(CPP) not $(CC) -E for preprocessor rule.
This commit is contained in:
committed by
Damien George
parent
e06dcad5d3
commit
862cc45a9c
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user