diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-28 12:40:40 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-01 09:30:35 +0200 |
commit | 41695a4f288b06da1cd1d9545a0f5c64d2eb33f9 (patch) | |
tree | 5840c2037ab867b1a732b4ff10de295a17c746bd | |
parent | cmake-utils.eclass: Prepare for makeopts_jobs default inf change (diff) | |
download | gentoo-41695a4f.tar.gz gentoo-41695a4f.tar.bz2 gentoo-41695a4f.zip |
ninja-utils.eclass: Prepare for makeopts_jobs default inf change
Signed-off-by: Michał Górny <mgorny@gentoo.org>
-rw-r--r-- | eclass/ninja-utils.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass index 9f6d2af6bdb2..c5f34934192f 100644 --- a/eclass/ninja-utils.eclass +++ b/eclass/ninja-utils.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: ninja-utils.eclass @@ -46,7 +46,7 @@ eninja() { [[ ${EAPI} != 5 ]] && nonfatal_args+=( -n ) if [[ -z ${NINJAOPTS+set} ]]; then - NINJAOPTS="-j$(makeopts_jobs) -l$(makeopts_loadavg "${MAKEOPTS}" 0)" + NINJAOPTS="-j$(makeopts_jobs "${MAKEOPTS}" 999) -l$(makeopts_loadavg "${MAKEOPTS}" 0)" fi set -- ninja -v ${NINJAOPTS} "$@" echo "$@" >&2 |