diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2016-11-08 08:47:14 -0800 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2016-11-08 09:23:52 -0800 |
commit | 76a08404742e6da79f1e5002ac39033dc79d94da (patch) | |
tree | c8bb56cf8b2a2953482b2263124551d7e6c9d147 /arch/arc | |
parent | 922cc171998ac3dbe74d57011ef7ed57e9b0d7df (diff) |
Revert "ARC: build: retire old toggles"
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 c3005475889c7c730638f95d13be3360f0b33e98.
Diffstat (limited to 'arch/arc')
-rw-r--r-- | arch/arc/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 864adad52280..aa82d13d4213 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile @@ -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 |