summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-02-29 19:30:26 +0100
committerFabian Groffen <grobian@gentoo.org>2016-02-29 19:30:26 +0100
commit48f8f07777a371fac6294c46ea98f24fbdcdd5d3 (patch)
tree789f4e627da57e7cc268c23b66f268e9d25e452e
parentsys-apps/portage: version bump, ebuild now uses python-based install (non-aut... (diff)
downloadprefix-48f8f07777a371fac6294c46ea98f24fbdcdd5d3.tar.gz
prefix-48f8f07777a371fac6294c46ea98f24fbdcdd5d3.tar.bz2
prefix-48f8f07777a371fac6294c46ea98f24fbdcdd5d3.zip
scripts/bootstrap-prefix.sh: try to work around bug #575324
-rwxr-xr-xscripts/bootstrap-prefix.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index a62f9f8593..9d71e9be4f 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1249,6 +1249,8 @@ bootstrap_stage3() {
( cd "${ROOT}"/usr/bin && test ! -e python && ln -s "${ROOT}"/tmp/usr/bin/python2.7 )
# in addition, avoid collisions
rm -Rf "${ROOT}"/tmp/usr/lib/python2.7/site-packages/clang
+ # try to get ourself out of the mudd, bug #575324
+ EXTRA_ECONF="--disable-compiler-version-checks" \
emerge_pkgs --nodeps ${compiler} || return 1
( cd "${ROOT}"/usr/bin && test ! -e python && rm -f python2.7 )