summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <ya@sysdump.net>2018-01-29 20:54:54 -0800
committerLars Wendler <polynomial-c@gentoo.org>2018-01-31 10:56:11 +0100
commitdca844ed582e369708a7769d4e84abf6e9b5fb0d (patch)
tree8cbc9b98cd9ef7ac9a76b35e9d287a2ec2bb27da /dev-lang
parentsys-apps/exa: Added description to metadata. (diff)
downloadgentoo-dca844ed582e369708a7769d4e84abf6e9b5fb0d.tar.gz
gentoo-dca844ed582e369708a7769d4e84abf6e9b5fb0d.tar.bz2
gentoo-dca844ed582e369708a7769d4e84abf6e9b5fb0d.zip
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<num>. 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
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.23.0-r1.ebuild4
1 files 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 a8057d5b644..59fee5ba417 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() {