summaryrefslogtreecommitdiffstats
path: root/arch/arc/Makefile
diff options
context:
space:
mode:
authorVineet Gupta <vgupta@synopsys.com>2015-06-27 16:56:41 +0530
committerVineet Gupta <vgupta@synopsys.com>2015-06-28 19:47:22 +0530
commitd1c6c2fbcda341c583a9277c36404d24bb773140 (patch)
treeb224325e1f314da30c23c5b93d79d2a4918a5fbb /arch/arc/Makefile
parent2924cd18c434c79ee777dc63616a8505045d7509 (diff)
downloadop-kernel-dev-d1c6c2fbcda341c583a9277c36404d24bb773140.zip
op-kernel-dev-d1c6c2fbcda341c583a9277c36404d24bb773140.tar.gz
ARCv2: Allow older gcc to cope with new regime of ARCv2/ARCompact support
-no-ll64 is specific to ARCv2 ISA, and is obviously not supported by older ARC gcc - in this case the one hosted by linux-next sanity build service. Ensure that it doesn't get included for ISA_ARCOMPACT Reported-by: Guenter Roeck <private@roeck-us.net> Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r--arch/arc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index bf68dc5..e608e07 100644
--- a/arch/arc/Makefile
+++ b/arch/arc/Makefile
@@ -37,7 +37,7 @@ cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock
cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape
ifndef CONFIG_ARC_HAS_LL64
-cflags-y += -mno-ll64
+cflags-$(CONFIG_ISA_ARCV2) += -mno-ll64
endif
cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables
OpenPOWER on IntegriCloud