Skip to content

Commit d49df4c

Browse files
authored
force linking to clang_rt_builtins when using LLVM for AppleM4
1 parent 7ffce1c commit d49df4c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

kernel/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ ifeq ($(TARGET_CORE), VORTEXM4)
4242
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a+sme
4343
else
4444
override CFLAGS += -DBUILD_KERNEL -DTABLE_NAME=gotoblas_$(TARGET_CORE) -march=armv8.4-a+sme
45+
override LFLAGS += -lclang_rt_builtins-aarch64
4546
endif
4647
ifdef OS_WINDOWS
4748
ifeq ($(C_COMPILER), CLANG)

0 commit comments

Comments
 (0)