Skip to content

Commit

Permalink
Makefile (arc/soc/em*): New compiler options
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jurobystricky authored and Andrew Boie committed Jan 5, 2017
1 parent 47b7b6b commit 51859d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions arch/arc/soc/em11d/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
soc-cflags = $(call cc-option,-mARCv2EM) \
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
soc-cflags = $(call cc-option,-mcpu=arcem) \
$(call cc-option,-mno-sdata)
4 changes: 2 additions & 2 deletions arch/arc/soc/em7d/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
soc-cflags = $(call cc-option,-mARCv2EM) \
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
soc-cflags = $(call cc-option,-mcpu=arcem) \
$(call cc-option,-mno-sdata)
4 changes: 2 additions & 2 deletions arch/arc/soc/em9d/Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
soc-cflags = $(call cc-option,-mARCv2EM) \
$(call cc-option,-mav2em,) $(call cc-option,-mno-sdata)
soc-cflags = $(call cc-option,-mcpu=arcem) \
$(call cc-option,-mno-sdata)

0 comments on commit 51859d2

Please sign in to comment.