Skip to content

Commit

Permalink
Revert "ARC: build: retire old toggles"
Browse files Browse the repository at this point in the history
This has caused a bunch of build failures at a few sites, with GNU
2015.12 and older as the assembler seems to need -mlock to be able to
grok llock/scond instructions for ARC700 builds.
different places since the
older tools still seem to release
of tools which most people are using seem to trip with the -mlock flag
not being passed.

This reverts commit c300547.
  • Loading branch information
Vineet Gupta committed Nov 8, 2016
1 parent 922cc17 commit 76a0840
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions arch/arc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ atleast_gcc44 := $(call cc-ifversion, -ge, 0404, y)

cflags-$(atleast_gcc44) += -fsection-anchors

cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape

ifdef CONFIG_ISA_ARCV2

ifndef CONFIG_ARC_HAS_LL64
Expand Down

0 comments on commit 76a0840

Please sign in to comment.