projects
/
openwrt
/
staging
/
mkresin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arc: clean-up and move CFLAGS to include/target.mk
[openwrt/staging/mkresin.git]
/
include
/
target.mk
diff --git
a/include/target.mk
b/include/target.mk
index f1292987f22d3f289ba7cfa37d5650f943425c93..d8c0212cf8f4734ef697924e059c39098173a6d9 100644
(file)
--- a/
include/target.mk
+++ b/
include/target.mk
@@
-263,6
+263,7
@@
ifeq ($(DUMP),1)
endif
ifeq ($(ARCH),arc)
CPU_TYPE ?= arc700
+ CPU_CFLAGS += -matomic
CPU_CFLAGS_arc700 = -marc700
endif
DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE)))