Merge pull request #3670 from martin-frbg/osxvermin
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Wed, 29 Jun 2022 06:31:04 +0000 (08:31 +0200)
committerGitHub <noreply@github.com>
Wed, 29 Jun 2022 06:31:04 +0000 (08:31 +0200)
Increase MACOSX_DEPLOYMENT_TARGET to 11 on ARM macs

Makefile.system

index 217d528..ff43114 100644 (file)
@@ -384,8 +384,12 @@ endif
 
 ifeq ($(OSNAME), Darwin)
 ifndef MACOSX_DEPLOYMENT_TARGET
+ifeq ($(ARCH), arm64)
+export MACOSX_DEPLOYMENT_TARGET=11.0
+else
 export MACOSX_DEPLOYMENT_TARGET=10.8
 endif
+endif
 MD5SUM = md5 -r
 endif