Disable SVE targets for DYNAMIC_ARCH when compiling with (homebrew)gcc on macOS/arm64

This commit is contained in:
Martin Kroeker
2023-09-05 16:33:40 +02:00
committed by GitHub
parent c3f2a3c0ca
commit 09911f077e

View File

@@ -397,6 +397,9 @@ ifeq ($(OSNAME), Darwin)
ifndef MACOSX_DEPLOYMENT_TARGET
ifeq ($(ARCH), arm64)
export MACOSX_DEPLOYMENT_TARGET=11.0
ifeq ($(C_COMPILER), GCC)
export NO_SVE = 1
endif
else
export MACOSX_DEPLOYMENT_TARGET=10.8
endif