From 7d663f5657d65f37db6fd7966d06c26fa0616e00 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Sun, 17 Mar 2024 03:38:37 -0400
Subject: [PATCH] All mac hardware that supports 10.9 also supports 10.11

No real purpose to keeping the default min version at 10.9.
---
 3rdp/build/GNUmakefile | 3 +++
 src/build/Common.gmake | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/3rdp/build/GNUmakefile b/3rdp/build/GNUmakefile
index cae2a8fa72..de0835aafd 100644
--- a/3rdp/build/GNUmakefile
+++ b/3rdp/build/GNUmakefile
@@ -35,6 +35,9 @@ ifneq ($(os),darwin)
   endif
  endif
 endif
+ifeq ($(os),darwin)
+ JS_CONFIGURE_ARGS += '--enable-macos-target=10.11'
+endif
 # Blacklist some machines...
 
 JS_CONFIGURE_ENV += 'CXXFLAGS=$(CXXFLAGS)'
diff --git a/src/build/Common.gmake b/src/build/Common.gmake
index c5200bf622..e20128f387 100644
--- a/src/build/Common.gmake
+++ b/src/build/Common.gmake
@@ -371,7 +371,7 @@ ifeq ($(os),haiku)
  CFLAGS	+=	-D__unix__ -DNEEDS_FORKPTY
 endif
 ifeq ($(os),darwin)
- MIN_MAC_OSX_VERSION ?= 10.9
+ MIN_MAC_OSX_VERSION ?= 10.11
  CFLAGS +=  -D__unix__ -fno-common -D__DARWIN__
  CFLAGS +=  -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
  LDFLAGS += -mmacosx-version-min=$(MIN_MAC_OSX_VERSION)
-- 
GitLab