From a18a53605ebb82c6edac9bc4e7db28c18aa8e5cd Mon Sep 17 00:00:00 2001 From: Martin Kroeker Date: Mon, 5 Jan 2026 19:10:52 +0100 Subject: [PATCH] Adjust M4 options to avoid unresolved reference with non-Apple LLVM --- kernel/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/Makefile b/kernel/Makefile index ce62dc38d..2cf8f2010 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -38,7 +38,7 @@ ifeq ($(TARGET_CORE), VORTEXM4) ifeq ($(C_COMPILER), GCC) override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -UHAVE_SME -march=armv8.4-a else - override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a+sme + override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a -mcpu=apple-m4 ifdef OS_WINDOWS ifeq ($(C_COMPILER), CLANG) override CFLAGS += --aarch64-stack-hazard-size=0