aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/target.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/target.mk b/include/target.mk
index 30994485e1..5490d4882f 100644
--- a/include/target.mk
+++ b/include/target.mk
@@ -215,8 +215,8 @@ ifeq ($(DUMP),1)
ifeq ($(ARCH),arc)
CPU_TYPE ?= arc700
CPU_CFLAGS += -matomic
- CPU_CFLAGS_arc700 = -marc700
- CPU_CFLAGS_archs = -marchs
+ CPU_CFLAGS_arc700 = -mcpu=arc700
+ CPU_CFLAGS_archs = -mcpu=archs
endif
DEFAULT_CFLAGS=$(strip $(CPU_CFLAGS) $(CPU_CFLAGS_$(CPU_TYPE)) $(CPU_CFLAGS_$(CPU_SUBTYPE)))