Skip to content

Commit 403384c

Browse files
authored
Merge pull request contiki-ng#404 from g-oikonomou/contrib/native/aropts
Tidy-up AROPTS for cpu native
2 parents 566ebdf + 47f7270 commit 403384c

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

arch/cpu/native/Makefile.native

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ CFLAGSNO = -Wall -g -I/usr/local/include $(CFLAGSWERROR)
2020
CFLAGS += $(CFLAGSNO)
2121

2222
ifeq ($(HOST_OS),Darwin)
23-
AROPTS = -r
23+
AROPTS = -rc
2424
LDFLAGS += -Wl,-flat_namespace,-map,$(CONTIKI_NG_PROJECT_MAP)
2525
CFLAGS += -DHAVE_SNPRINTF=1 -U__ASSERT_USE_STDERR
2626
else

arch/platform/native/Makefile.native

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ ifndef CONTIKI
22
$(error CONTIKI not defined! You must specify where CONTIKI resides!)
33
endif
44

5-
ifeq ($(HOST_OS),Darwin)
6-
AROPTS = rc
7-
endif
85

96
CONTIKI_TARGET_DIRS = . dev
107
CONTIKI_TARGET_MAIN = ${addprefix $(OBJECTDIR)/,contiki-main.o}

0 commit comments

Comments
 (0)