Adjust M4 options to avoid unresolved reference with non-Apple LLVM

This commit is contained in:
Martin Kroeker
2026-01-05 19:10:52 +01:00
committed by GitHub
parent 618bcbd7c0
commit a18a53605e

View File

@@ -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