Merge pull request #41 from adamdunkels/fix-native-build

Make gcc default LD, and allow override with LD_OVERRIDE
This commit is contained in:
Adam Dunkels 2012-11-21 11:09:48 -08:00
commit 3a669d0caa

View file

@ -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