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
1 changed files with 6 additions and 0 deletions

View File

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