summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2021-03-13 13:27:51 +0100
committerFabian Groffen <grobian@gentoo.org>2021-03-13 13:27:51 +0100
commit3d12a4fb0cb041c7a6ff652ae0c6b2ca1d0f2a9b (patch)
tree8432d81d0fb0ef0c0c9b43a426e8e47d2e3fc554
parentjava-utils-2.eclass: sync with gx86 (diff)
downloadprefix-3d12a4fb0cb041c7a6ff652ae0c6b2ca1d0f2a9b.tar.gz
prefix-3d12a4fb0cb041c7a6ff652ae0c6b2ca1d0f2a9b.tar.bz2
prefix-3d12a4fb0cb041c7a6ff652ae0c6b2ca1d0f2a9b.zip
scripts/bootstrap-prefix: use binutils without gold in stage2
If we don't have a c++ compiler, we're trying to build one, so it helps in that case if the linker (binutils) doesn't impose a c++ dependency on us there. Closes: https://bugs.gentoo.org/770289 Signed-off-by: Fabian Groffen <grobian@gentoo.org>
-rwxr-xr-xscripts/bootstrap-prefix.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index 70a418cb71..6789abd382 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -486,6 +486,7 @@ bootstrap_setup() {
# stage2 libstdc++.so might conflict with that of stage3. The
# trade-off is just not to use cxx.
dev-libs/gmp -cxx
+ sys-devel/binutils -gold
EOF
}