Skip to content

Commit

Permalink
scripts/bootstrap-prefix: make macOS Ventura and up skip GCC5
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
grobian committed Jul 24, 2024
1 parent 0378ad8 commit d72b6b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/bootstrap-prefix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!
Expand Down

0 comments on commit d72b6b0

Please sign in to comment.