From d72b6b0d55e3f33e18b0ffcb65a53afd5a704518 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Wed, 24 Jul 2024 08:29:09 +0200 Subject: [PATCH] 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 --- 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!