Make gcc default LD, and allow override with LD_OVERRIDE
This commit is contained in:
parent
135ae838de
commit
db41a51ae6
|
@ -4,7 +4,11 @@ CONTIKI_SOURCEFILES += mtarch.c rtimer-arch.c elfloader-stub.c watchdog.c
|
|||
|
||||
### Compiler definitions
|
||||
CC ?= gcc
|
||||
LD ?= gcc
|
||||
ifdef LD_OVERRIDE
|
||||
LD = $(LD_OVERRIDE)
|
||||
else
|
||||
LD = gcc
|
||||
endif
|
||||
AS ?= as
|
||||
NM ?= nm
|
||||
OBJCOPY ?= objcopy
|
||||
|
|
Loading…
Reference in a new issue