From 4933033a0abff26400aeeda4779f20804a9efee2 Mon Sep 17 00:00:00 2001
From: Oliver Behnke <oliver.behnke@aei.mpg.de>
Date: Thu, 19 Nov 2020 18:07:25 +0100
Subject: [PATCH] Target macOS 10.9 by default

* BOINC passes IOSurfaces via Mach RPC as of 10.13
* This hopefully enables compatibility with it, according to Apple:
  https://developer.apple.com/library/archive/samplecode/MultiGPUIOSurface/Introduction/Intro.html
* Older macOS version can still use the old 32 bit builds
---
 build.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index 60c191c..4553e9d 100755
--- a/build.sh
+++ b/build.sh
@@ -816,8 +816,8 @@ case $TARGET in
         build_linux || failure
         ;;
     $TARGET_MAC)
-        echo "Setting macOS 10.8 deployment target..." | tee -a $LOGFILE
-        export MACOSX_DEPLOYMENT_TARGET=10.8
+        echo "Setting macOS 10.9 deployment target..." | tee -a $LOGFILE
+        export MACOSX_DEPLOYMENT_TARGET=10.9
         check_prerequisites || failure
         prepare_tree || failure
         build_mac $TARGET_MAC || failure
-- 
GitLab