simulator: use CC and CPPC for LD (#4794)

this allows to specify a different GCC when building
This commit is contained in:
Nathan Schulte 2022-11-18 20:15:13 -06:00 committed by GitHub
parent bdaa030626
commit a4198e2486
1 changed files with 3 additions and 3 deletions

View File

@ -226,10 +226,10 @@ CPPC = $(CCPREFIX) $(TRGT)g++
# Enable loading with g++ only if you need C++ runtime support.
# NOTE: You can use C++ even without C++ support if you are careful. C++
# runtime support makes code size explode.
#LD = $(TRGT)gcc
LD = $(TRGT)g++
#LD = $(CC)
LD = $(CPPC)
CP = $(TRGT)objcopy
AS = $(TRGT)gcc -x assembler-with-cpp
AS = $(CC) -x assembler-with-cpp
AR = $(TRGT)ar
OD = $(TRGT)objdump
SZ = $(TRGT)size