simulator: use CC and CPPC for LD (#4794)
this allows to specify a different GCC when building
This commit is contained in:
parent
bdaa030626
commit
a4198e2486
|
@ -226,10 +226,10 @@ CPPC = $(CCPREFIX) $(TRGT)g++
|
||||||
# Enable loading with g++ only if you need C++ runtime support.
|
# 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++
|
# NOTE: You can use C++ even without C++ support if you are careful. C++
|
||||||
# runtime support makes code size explode.
|
# runtime support makes code size explode.
|
||||||
#LD = $(TRGT)gcc
|
#LD = $(CC)
|
||||||
LD = $(TRGT)g++
|
LD = $(CPPC)
|
||||||
CP = $(TRGT)objcopy
|
CP = $(TRGT)objcopy
|
||||||
AS = $(TRGT)gcc -x assembler-with-cpp
|
AS = $(CC) -x assembler-with-cpp
|
||||||
AR = $(TRGT)ar
|
AR = $(TRGT)ar
|
||||||
OD = $(TRGT)objdump
|
OD = $(TRGT)objdump
|
||||||
SZ = $(TRGT)size
|
SZ = $(TRGT)size
|
||||||
|
|
Loading…
Reference in New Issue