Tidy-up AROPTS for cpu native

This commit is contained in:
George Oikonomou 2018-04-01 14:01:31 +01:00
parent 2ccf2d04ee
commit a94b868a4f
2 changed files with 1 additions and 4 deletions

View File

@ -20,7 +20,7 @@ CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
CFLAGS += $(CFLAGSNO) CFLAGS += $(CFLAGSNO)
ifeq ($(HOST_OS),Darwin) ifeq ($(HOST_OS),Darwin)
AROPTS = -r AROPTS = -rc
LDFLAGS += -Wl,-flat_namespace,-map,$(CONTIKI_NG_PROJECT_MAP) LDFLAGS += -Wl,-flat_namespace,-map,$(CONTIKI_NG_PROJECT_MAP)
CFLAGS += -DHAVE_SNPRINTF=1 -U__ASSERT_USE_STDERR CFLAGS += -DHAVE_SNPRINTF=1 -U__ASSERT_USE_STDERR
else else

View File

@ -2,9 +2,6 @@ ifndef CONTIKI
$(error CONTIKI not defined! You must specify where CONTIKI resides!) $(error CONTIKI not defined! You must specify where CONTIKI resides!)
endif endif
ifeq ($(HOST_OS),Darwin)
AROPTS = rc
endif
CONTIKI_TARGET_DIRS = . dev CONTIKI_TARGET_DIRS = . dev
CONTIKI_TARGET_MAIN = ${addprefix $(OBJECTDIR)/,contiki-main.o} CONTIKI_TARGET_MAIN = ${addprefix $(OBJECTDIR)/,contiki-main.o}