Increase MACOSX_DEPLOYMENT_TARGET to 11 on ARM macs
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 28 Jun 2022 09:46:25 +0000 (11:46 +0200)
committerGitHub <noreply@github.com>
Tue, 28 Jun 2022 09:46:25 +0000 (11:46 +0200)
Makefile.system

index b1593e8..6dffa40 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