commit:     db0387530cf744068f480b68a192d4fc10a81286
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 03:15:28 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 27 03:16:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db038753

toolchain.eclass: drop -j1 for src_install

Originates from CVS times (commit hash from git graft):
```
commit 0a4b02d50f2202089927d1526ebe003f54ad55a9
Author: Mike Frysinger <vapier <AT> gentoo.org>
Date:   Thu Jan 29 06:06:45 2009 +0000

    at least gcc-4.1 has problems with parallel installs, so use -j1 with it
```

Doesn't seem relevant in the year 2022 and modern GCCs.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index c421001209ca..69d674f46b64 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1763,7 +1763,7 @@ toolchain_src_install() {
        done < <(find gcc/include*/ -name '*.h')
 
        # Do the 'make install' from the build directory
-       S="${WORKDIR}"/build emake -j1 DESTDIR="${D}" install || die
+       S="${WORKDIR}"/build emake DESTDIR="${D}" install || die
 
        # Punt some tools which are really only useful while building gcc
        find "${ED}" -name install-tools -prune -type d -exec rm -rf "{}" \;

Reply via email to