commit: 7bdd7fed54b73d349c5bd4f9b81e3e3d4544bf56 Author: Florian Schmaus <flow <AT> gentoo <DOT> org> AuthorDate: Sun Aug 20 11:09:30 2023 +0000 Commit: Florian Schmaus <flow <AT> gentoo <DOT> org> CommitDate: Mon Oct 9 10:54:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bdd7fed
ninja-utils.eclass: use get_makeopts_{jobs,loadavg} Signed-off-by: Florian Schmaus <flow <AT> gentoo.org> eclass/ninja-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}" }