commit:     f712420e0bd2931f5a86bf3e9fe9e9123ea44ad3
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  4 10:35:14 2020 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Fri Dec  4 10:37:56 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=f712420e

scripts/bootstrap-prefix: don't do SDK linking on old Darwin

powerpc-*-darwin9 is old, and doesn't have SDKs of the sort recent
systems have, so don't trigger this code-path.  Darwin 9 actually uses a
hybrid path with FSF-GCC and Apple GCC 4.2.1 for building its linker.

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

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

diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 23c8c32264..06f78c9390 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -3087,6 +3087,9 @@ esac
 
 # handle GCC install path on recent Darwin
 case ${CHOST} in
+       powerpc-*darwin*)
+               unset DARWIN_USE_GCC  # there is no choice here, don't trigger 
SDK path
+               ;;
        *-darwin*)
                # normalise value of DARWIN_USE_GCC
                case ${DARWIN_USE_GCC} in

Reply via email to