summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2024-07-24 08:29:09 +0200
committerFabian Groffen <grobian@gentoo.org>2024-07-24 08:29:09 +0200
commitd72b6b0d55e3f33e18b0ffcb65a53afd5a704518 (patch)
tree519b7513e41e5f4ebf547fa40aeb78c26b47da0d
parentscripts/bootstrap-prefix: emulate readlink -f behaviour for older macOS (diff)
downloadprefix-d72b6b0d55e3f33e18b0ffcb65a53afd5a704518.tar.gz
prefix-d72b6b0d55e3f33e18b0ffcb65a53afd5a704518.tar.bz2
prefix-d72b6b0d55e3f33e18b0ffcb65a53afd5a704518.zip
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@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh1
1 files changed, 1 insertions, 0 deletions
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!