Skip to content

Commit 5e5f9a3

Browse files
authored
Apple Clang absolutely needs the +sme in the arch string
1 parent 770ad68 commit 5e5f9a3

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Makefile.arm64

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,11 @@ endif
310310

311311
ifeq ($(CORE), VORTEXM4)
312312
ifneq ($(C_COMPILER), GCC)
313+
ifeq ($(APPLECLANG),1)
314+
CCOMMON_OPT += -march=armv8.4-a+sme -mcpu=apple-m4
315+
else
313316
CCOMMON_OPT += -march=armv8.4-a -mcpu=apple-m4
317+
endif
314318
else
315319
CCOMMON_OPT += -march=armv8.4-a
316320
endif

0 commit comments

Comments
 (0)