commit:     2619d10984d0633e8cab4464c389ba9cc10642cb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 27 22:38:47 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May 29 00:11:08 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2619d109

toolchain.eclass: sync output

Makes the build output far easier to read (GCC has "parallel configure"
for a start which is confusing enough) and doesn't slow anything down,
although does affect output speed.

I've prepended rather than appended to MAKEOPTS to allow override.

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

 eclass/toolchain.eclass | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 762f8c69d765..0ce2ef02b432 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -493,6 +493,11 @@ toolchain_pkg_setup() {
 
        # bug #265283
        unset LANGUAGES
+
+       # See 
https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
+       # Avoid really confusing logs from subconfigure spam, makes logs far
+       # more legible.
+       MAKEOPTS=" --output-sync=line ${MAKEOPTS}"
 }
 
 #---->> src_unpack <<----

Reply via email to