Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Sun, 01 May 2022 07:30:47
Message-Id: 1651390235.41695a4f288b06da1cd1d9545a0f5c64d2eb33f9.mgorny@gentoo
1 commit: 41695a4f288b06da1cd1d9545a0f5c64d2eb33f9
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 28 10:40:40 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun May 1 07:30:35 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41695a4f
7
8 ninja-utils.eclass: Prepare for makeopts_jobs default inf change
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 eclass/ninja-utils.eclass | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15 diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass
16 index 9f6d2af6bdb2..c5f34934192f 100644
17 --- a/eclass/ninja-utils.eclass
18 +++ b/eclass/ninja-utils.eclass
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2021 Gentoo Authors
21 +# Copyright 1999-2022 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 # @ECLASS: ninja-utils.eclass
25 @@ -46,7 +46,7 @@ eninja() {
26 [[ ${EAPI} != 5 ]] && nonfatal_args+=( -n )
27
28 if [[ -z ${NINJAOPTS+set} ]]; then
29 - NINJAOPTS="-j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0)"
30 + NINJAOPTS="-j$(makeopts_jobs "${MAKEOPTS}" 999) -l$(makeopts_loadavg "${MAKEOPTS}" 0)"
31 fi
32 set -- ninja -v ${NINJAOPTS} "$@"
33 echo "$@" >&2