Increase MACOSX_DEPLOYMENT_TARGET to 11 on ARM macs

This commit is contained in:
Martin Kroeker 2022-06-28 11:46:25 +02:00 committed by GitHub
parent 9283c7c0b5
commit 2857987ff6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -384,8 +384,12 @@ endif
ifeq ($(OSNAME), Darwin) ifeq ($(OSNAME), Darwin)
ifndef MACOSX_DEPLOYMENT_TARGET ifndef MACOSX_DEPLOYMENT_TARGET
ifeq ($(ARCH), arm64)
export MACOSX_DEPLOYMENT_TARGET=11.0
else
export MACOSX_DEPLOYMENT_TARGET=10.8 export MACOSX_DEPLOYMENT_TARGET=10.8
endif endif
endif
MD5SUM = md5 -r MD5SUM = md5 -r
endif endif