mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 03:30:01 +00:00
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
@ -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 New Issue
Block a user