commit:     d72b6b0d55e3f33e18b0ffcb65a53afd5a704518
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 06:29:09 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 06:29:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=d72b6b0d

scripts/bootstrap-prefix: make macOS Ventura and up skip GCC5

The host toolchain cannot compile GCC-5, but it *can* compile GCC-14,
which is exactly what we need, so skip GCC-5.

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/bootstrap-prefix.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 9dfa1cda47..11ad8eb8e4 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1536,6 +1536,7 @@ bootstrap_stage1() {
                # on Darwin 8 and 9.
                # see also configure_toolchain
                case ${CHOST} in
+                       *-darwin2[23456789]) :      ;;  # host toolchain can 
compile gcc-14
                        *-darwin[89])  USEGCC5=yes  ;;
                        *86*-darwin*)  USEGCC5=yes  ;;
                        # arm64/M1 isn't supported by old GCC-5!

Reply via email to