diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 9f0ce13fb..44be5be73 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -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