Merge pull request #41 from adamdunkels/fix-native-build
Make gcc default LD, and allow override with LD_OVERRIDE
This commit is contained in:
commit
3a669d0caa
1 changed files with 5 additions and 1 deletions
|
@ -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