Skip to content

Commit cd36b8f

Browse files
authored
Merge pull request #4214 from martin-frbg/issue4212
Disable SVE targets in DYNAMIC_ARCH when compiler is gcc on macOS
2 parents c3f2a3c + 09911f0 commit cd36b8f

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)