Skip to content

Commit 8211db6

Browse files
authored
Don't enable SME for VortexM4 when the compiler is gcc (which does not support it w/out SVE)
1 parent 9bfc361 commit 8211db6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile.arm64

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

306306
ifeq ($(CORE), VORTEXM4)
307+
ifneq ($(C_COMPILER), GCC)
307308
CCOMMON_OPT += -march=armv8.4-a+sme
309+
else
310+
CCOMMON_OPT += -march=armv8.4-a
311+
endif
308312
FCOMMON_OPT += -march=armv8.4-a
309313
endif
310314

0 commit comments

Comments
 (0)