Skip to content

Commit a18a536

Browse files
authored
Adjust M4 options to avoid unresolved reference with non-Apple LLVM
1 parent 618bcbd commit a18a536

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ ifeq ($(TARGET_CORE), VORTEXM4)
3838
ifeq ($(C_COMPILER), GCC)
3939
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -UHAVE_SME -march=armv8.4-a
4040
else
41-
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a+sme
41+
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a -mcpu=apple-m4
4242
ifdef OS_WINDOWS
4343
ifeq ($(C_COMPILER), CLANG)
4444
override CFLAGS += --aarch64-stack-hazard-size=0

0 commit comments

Comments
 (0)