Enable native
target for cross-compiling -
by now it would have worked if you set CC via command line (e.g. `make CC=clang`, though it wouldn't work when CC is set in the platform makefile which includes `Makefile.native`.
This commit is contained in:
parent
6690c5f13e
commit
092c69639c
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue