From: Mark Mentovai <m...@mentovai.com>

I pushed this for Mark, after testing locally on x86_64-darwin21, 23,
thanks,
Iain

--- 8< ---

d9cafa0c4f0a stopped building libgcc_s.1 on macOS >= 15, in part because
that is required to bootstrap the compiler using the macOS 15 SDK. The
macOS 15 SDK ships in Xcode 16, which also runs on macOS 14. libgcc_s.1
can no longer be built on macOS 14 using Xcode 16 by the same logic that
the previous change disabled it for macOS 15.

        PR target/116809

libgcc/ChangeLog:

        * config.host: Don't build legacy libgcc_s.1 on macOS 14.

Signed-off-by: Mark Mentovai <m...@mentovai.com>
---
 libgcc/config.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libgcc/config.host b/libgcc/config.host
index 00bd6384c0f..fa001c5e900 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -239,7 +239,7 @@ case ${host} in
   esac
   tmake_file="$tmake_file t-slibgcc-darwin"
   case ${host} in
-    x86_64-*-darwin2[0-3]*)
+    x86_64-*-darwin2[0-2]*)
       tmake_file="t-darwin-min-11 t-darwin-libgccs1 $tmake_file"
       ;;
     *-*-darwin2*)
-- 
2.39.2 (Apple Git-143)

Reply via email to