summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arch/arc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile
index bf68dc5a08be..e608e0759090 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