diff --git a/cpu/native/Makefile.native b/cpu/native/Makefile.native index 56fb6688b..166c139cc 100644 --- a/cpu/native/Makefile.native +++ b/cpu/native/Makefile.native @@ -3,12 +3,12 @@ CONTIKI_CPU_DIRS = . net CONTIKI_SOURCEFILES += mtarch.c rtimer-arch.c elfloader-stub.c watchdog.c ### Compiler definitions -CC = gcc -LD = gcc -AS = as -NM = nm -OBJCOPY = objcopy -STRIP = strip +CC ?= gcc +LD ?= gcc +AS ?= as +NM ?= nm +OBJCOPY ?= objcopy +STRIP ?= strip ifdef WERROR CFLAGSWERROR=-Werror -pedantic -std=c99 -Werror endif