diff options
author | Fabian Groffen <grobian@gentoo.org> | 2020-12-04 11:35:14 +0100 |
---|---|---|
committer | Fabian Groffen <grobian@gentoo.org> | 2020-12-04 11:37:56 +0100 |
commit | f712420e0bd2931f5a86bf3e9fe9e9123ea44ad3 (patch) | |
tree | 8afd2912d8d724b2f0cc2621829d36b52df88aa0 | |
parent | sys-apps/portage-3.0.10.3: fix Python 3.8 on macOS interaction (diff) | |
download | prefix-f712420e0bd2931f5a86bf3e9fe9e9123ea44ad3.tar.gz prefix-f712420e0bd2931f5a86bf3e9fe9e9123ea44ad3.tar.bz2 prefix-f712420e0bd2931f5a86bf3e9fe9e9123ea44ad3.zip |
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@gentoo.org>
-rwxr-xr-x | scripts/bootstrap-prefix.sh | 3 |
1 files changed, 3 insertions, 0 deletions
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 |