From 6096e30a589828b515d67f130f56e3cc56a2e352 Mon Sep 17 00:00:00 2001 From: Bruno Martins Date: Fri, 20 Oct 2023 23:29:59 +0100 Subject: [PATCH] arm64: vdso32: Allow building with LLVM integrated AS Change-Id: I8bfc0e53b4bd347adaa298594402a2210aed3b49 --- arch/arm64/kernel/vdso32/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/arch/arm64/kernel/vdso32/Makefile b/arch/arm64/kernel/vdso32/Makefile index b75c2fda6236..4bd7ec32989f 100644 --- a/arch/arm64/kernel/vdso32/Makefile +++ b/arch/arm64/kernel/vdso32/Makefile @@ -5,7 +5,10 @@ # A mix between the arm64 and arm vDSO Makefiles. ifeq ($(cc-name),clang) - CC_ARM32 := $(CC) $(CLANG_TARGET_ARM32) -no-integrated-as $(CLANG_GCC32_TC) $(CLANG_PREFIX32) + CC_ARM32 := $(CC) $(CLANG_TARGET_ARM32) $(CLANG_GCC32_TC) $(CLANG_PREFIX32) + ifneq ($(LLVM_IAS),1) + CC_ARM32 += -no-integrated-as + endif else CC_ARM32 := $(CROSS_COMPILE_ARM32)$(cc-name) endif -- 2.20.1