From ef8f70da077164b0bcd1566390728c4f3d027cb2 Mon Sep 17 00:00:00 2001 From: david921518 Date: Thu, 21 Nov 2024 02:39:46 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=BC=96=E8=AF=91=20qemu-x86=5F64-linux?= =?UTF-8?q?-min=20=E5=87=BA=E9=94=99=20=E5=8F=82=E8=80=83=20riscv64=20?= =?UTF-8?q?=E6=8C=87=E5=AE=9A=E4=BD=BF=E7=94=A8LLVM=20clang=20=E7=BC=96?= =?UTF-8?q?=E8=AF=91=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: david921518 --- kernel.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel.mk b/kernel.mk index 34d4740..92ec042 100644 --- a/kernel.mk +++ b/kernel.mk @@ -49,6 +49,8 @@ else ifeq ($(KERNEL_ARCH), riscv64) else ifeq ($(KERNEL_ARCH), x86_64) KERNEL_TARGET_TOOLCHAIN := gcc KERNEL_TARGET_TOOLCHAIN_PREFIX := + KERNEL_CROSS_COMPILE += LLVM=1 + KERNEL_CROSS_COMPILE += LLVM_IAS=1 else ifeq ($(KERNEL_ARCH), loongarch64) KERNEL_TARGET_TOOLCHAIN := $(PREBUILTS_GCC_DIR)/linux-x86/loongarch64/gcc-loongarch64-linux-gnu/bin KERNEL_TARGET_TOOLCHAIN_PREFIX := $(KERNEL_TARGET_TOOLCHAIN)/loongarch64-unknown-linux-gnu- -- Gitee