Commit b74d1e8a authored by Juro Bystricky's avatar Juro Bystricky Committed by Anas Nashif
Browse files

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: default avatarJuro Bystricky <juro.bystricky@intel.com>
parent fe5c5d54
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
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)
+2 −2
Original line number Diff line number Diff line
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)
+2 −2
Original line number Diff line number Diff line
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)