diff options
author | Florian Schmaus <flow@gentoo.org> | 2023-08-20 13:09:30 +0200 |
---|---|---|
committer | Florian Schmaus <flow@gentoo.org> | 2023-10-09 12:54:06 +0200 |
commit | 7bdd7fed54b73d349c5bd4f9b81e3e3d4544bf56 (patch) | |
tree | 259c7cea348dd79fabc8055d1cdf442685d3b290 /eclass | |
parent | multiprocessing.eclass: consider (GNU)MAKEFLAGS, add get_makeopts_{jobs,loadavg} (diff) | |
download | gentoo-7bdd7fed54b73d349c5bd4f9b81e3e3d4544bf56.tar.gz gentoo-7bdd7fed54b73d349c5bd4f9b81e3e3d4544bf56.tar.bz2 gentoo-7bdd7fed54b73d349c5bd4f9b81e3e3d4544bf56.zip |
ninja-utils.eclass: use get_makeopts_{jobs,loadavg}
Signed-off-by: Florian Schmaus <flow@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/ninja-utils.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/ninja-utils.eclass b/eclass/ninja-utils.eclass index 5a211e81131d..859938cb3047 100644 --- a/eclass/ninja-utils.eclass +++ b/eclass/ninja-utils.eclass @@ -72,7 +72,7 @@ esac # Get the value of NINJAOPTS, inferring them from MAKEOPTS if unset. get_NINJAOPTS() { if [[ -z ${NINJAOPTS+set} ]]; then - NINJAOPTS="-j$(makeopts_jobs "${MAKEOPTS}" 999) -l$(makeopts_loadavg "${MAKEOPTS}" 0)" + NINJAOPTS="-j$(get_makeopts_jobs 999) -l$(get_makeopts_loadavg 0)" fi echo "${NINJAOPTS}" } |