summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-05-27 23:38:47 +0100
committerSam James <sam@gentoo.org>2022-05-29 01:11:08 +0100
commit2619d10984d0633e8cab4464c389ba9cc10642cb (patch)
tree33246764f3d5fc3e6fb9cf9ef1b33a7f772d8c35 /eclass/toolchain.eclass
parenttoolchain.eclass: build JIT variant separately to avoid slowdown (diff)
downloadgentoo-2619d10984d0633e8cab4464c389ba9cc10642cb.tar.gz
gentoo-2619d10984d0633e8cab4464c389ba9cc10642cb.tar.bz2
gentoo-2619d10984d0633e8cab4464c389ba9cc10642cb.zip
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@gentoo.org>
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass5
1 files changed, 5 insertions, 0 deletions
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 <<----