Skip to content

Commit b74d1e8

Browse files
jurobystrickynashif
authored andcommitted
Makefile (arc/soc/em*): New compiler options
GCC 6.x for ARC does not recognize the options -mARCv2EM and -mav2em anymore. Both options replaced in Makefile by -mcpu=arcem. Change-Id: Ic86bf51cd5fb1a67ba2cd75998cd907e26996347 Signed-off-by: Juro Bystricky <[email protected]>
1 parent fe5c5d5 commit b74d1e8

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

arch/arc/soc/em11d/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
soc-cflags = $(call cc-option,-mARCv2EM) \
2-
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
1+
soc-cflags = $(call cc-option,-mcpu=arcem) \
2+
$(call cc-option,-mno-sdata)

arch/arc/soc/em7d/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
soc-cflags = $(call cc-option,-mARCv2EM) \
2-
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
1+
soc-cflags = $(call cc-option,-mcpu=arcem) \
2+
$(call cc-option,-mno-sdata)

arch/arc/soc/em9d/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
soc-cflags = $(call cc-option,-mARCv2EM) \
2-
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
1+
soc-cflags = $(call cc-option,-mcpu=arcem) \
2+
$(call cc-option,-mno-sdata)

0 commit comments

Comments
 (0)