]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgcc, Darwin: Don't build legacy libgcc_s.1 on macOS 14 [PR116809]
authorMark Mentovai <mark@mentovai.com>
Tue, 24 Sep 2024 20:11:14 +0000 (16:11 -0400)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 27 Sep 2024 12:17:44 +0000 (13:17 +0100)
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 <mark@mentovai.com>
libgcc/config.host

index 00bd6384c0f9438702be695b07180c6235110940..fa001c5e900b6483497fcdf6120cd4714bcf77e4 100644 (file)
@@ -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*)