Use arm-none-eabi-cpp for modern.

This commit is contained in:
luckytyphlosion 2020-12-16 20:29:58 -05:00
parent d597c5c883
commit 11df2113d9

View File

@ -17,7 +17,13 @@ endif
PREFIX := arm-none-eabi-
OBJCOPY := $(PREFIX)objcopy
AS := $(PREFIX)as
ifneq ($(MODERN),1)
CPP := $(CC) -E
else
CPP := $(PREFIX)cpp
endif
LD := $(PREFIX)ld
# note: the makefile must be set up so MODERNCC is never called