diff options
author | Michał Górny <mgorny@gentoo.org> | 2022-04-28 15:37:25 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2022-05-01 09:30:38 +0200 |
commit | 625ad1fafe34533f72cd5b795780e2e83e36d52b (patch) | |
tree | 220d124753f6f0830a7919e0609fbaaba247ea54 /eclass | |
parent | llvm.org.eclass: Utilize the new makeopts_jobs default (diff) | |
download | gentoo-625ad1fafe34533f72cd5b795780e2e83e36d52b.tar.gz gentoo-625ad1fafe34533f72cd5b795780e2e83e36d52b.tar.bz2 gentoo-625ad1fafe34533f72cd5b795780e2e83e36d52b.zip |
python-utils-r1.eclass: Utilize the new makeopts_jobs default
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/25238
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/python-utils-r1.eclass | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index a6f5f24c8bdd..7b1bd012a37e 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -631,9 +631,7 @@ python_optimize() { debug-print "${FUNCNAME}: using sys.path: ${*/%/;}" fi - local jobs=$(makeopts_jobs "${MAKEOPTS}" INF) - [[ ${jobs} == INF ]] && jobs=$(get_nproc) - + local jobs=$(makeopts_jobs) local d for d; do # make sure to get a nice path without // |