Skip to content

Commit 09911f0

Browse files
authored
Disable SVE targets for DYNAMIC_ARCH when compiling with (homebrew)gcc on macOS/arm64
1 parent c3f2a3c commit 09911f0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Makefile.system

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,9 @@ ifeq ($(OSNAME), Darwin)
397397
ifndef MACOSX_DEPLOYMENT_TARGET
398398
ifeq ($(ARCH), arm64)
399399
export MACOSX_DEPLOYMENT_TARGET=11.0
400+
ifeq ($(C_COMPILER), GCC)
401+
export NO_SVE = 1
402+
endif
400403
else
401404
export MACOSX_DEPLOYMENT_TARGET=10.8
402405
endif

0 commit comments

Comments
 (0)