From dca844ed582e369708a7769d4e84abf6e9b5fb0d Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Mon, 29 Jan 2018 20:54:54 -0800 Subject: [PATCH] dev-lang/rust: fix MAKEOPTS -l/--load-average build Upstream build system does not like -l/--load-average, So we cannot use MAKEOPTS as-is. The only relevant option is -j. This commit changes to using multiprocessing.eclass makeopts_jobs() Closes: https://bugs.gentoo.org/646092 Package-Manager: Portage-2.3.19, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7000 --- dev-lang/rust/rust-1.23.0-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-lang/rust/rust-1.23.0-r1.ebuild b/dev-lang/rust/rust-1.23.0-r1.ebuild index a8057d5b6440..59fee5ba417f 100644 --- a/dev-lang/rust/rust-1.23.0-r1.ebuild +++ b/dev-lang/rust/rust-1.23.0-r1.ebuild @@ -5,7 +5,7 @@ EAPI=6 PYTHON_COMPAT=( python2_7 ) -inherit python-any-r1 versionator toolchain-funcs +inherit multiprocessing python-any-r1 versionator toolchain-funcs if [[ ${PV} = *beta* ]]; then betaver=${PV//*beta} @@ -119,7 +119,7 @@ src_configure() { } src_compile() { - ./x.py build --verbose --config="${S}"/config.toml "${MAKEOPTS}" || die + ./x.py build --verbose --config="${S}"/config.toml -j$(makeopts_jobs) || die } src_install() { -- 2.26.2