commit:     3d12a4fb0cb041c7a6ff652ae0c6b2ca1d0f2a9b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 12:27:51 2021 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar 13 12:27:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=3d12a4fb

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 <AT> gentoo.org>

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

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
 }
 

Reply via email to