Skip to content

Commit 4d86f2c

Browse files
committed
src_test: apply MAKEFLAGS tweak as done for emake
Copy da7c150 for src_test's custom make calls (we avoid emake for other reasons in there, see comment wrt nonfatal), otherwise we don't make use of the jobserver for tests. Bug: https://bugs.gentoo.org/692576 Signed-off-by: Sam James <[email protected]>
1 parent 885d12b commit 4d86f2c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

bin/phase-helpers.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -744,6 +744,9 @@ __eapi0_src_compile() {
744744
}
745745

746746
__eapi0_src_test() {
747+
# Prevent MAKEOPTS from resetting MAKEFLAGS jobserver mode for bug 692576.
748+
[[ -n ${MAKEFLAGS} ]] && local MAKEOPTS=""
749+
747750
# Since we don't want emake's automatic die
748751
# support (EAPI 4 and later), and we also don't
749752
# want the warning messages that it produces if

0 commit comments

Comments
 (0)