summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2020-12-04 11:35:14 +0100
committerFabian Groffen <grobian@gentoo.org>2020-12-04 11:37:56 +0100
commitf712420e0bd2931f5a86bf3e9fe9e9123ea44ad3 (patch)
tree8afd2912d8d724b2f0cc2621829d36b52df88aa0
parentsys-apps/portage-3.0.10.3: fix Python 3.8 on macOS interaction (diff)
downloadprefix-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-xscripts/bootstrap-prefix.sh3
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