projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Revert "ARC: build: retire old toggles"
[linux-2.6-microblaze.git]
/
arch
/
arc
/
Makefile
diff --git
a/arch/arc/Makefile
b/arch/arc/Makefile
index
864adad
..
aa82d13
100644
(file)
--- 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