diff options
author | stefson <herrtimson@yahoo.de> | 2018-02-03 21:46:29 +0100 |
---|---|---|
committer | stefson <herrtimson@yahoo.de> | 2018-02-03 21:46:29 +0100 |
commit | 1808c612c0dc6b99670bfc32fa75c00782c3764e (patch) | |
tree | 268ca7753b736fbb7ea895c12d18195899c26c29 | |
parent | dev-util/cargo: make the build system honor MAKEOPTS from make.conf (diff) | |
download | musl-1808c612.tar.gz musl-1808c612.tar.bz2 musl-1808c612.zip |
dev-lang/rust: backport the fix for MAKEOPTS
-rw-r--r-- | dev-lang/rust/rust-1.21.0.ebuild | 6 | ||||
-rw-r--r-- | dev-lang/rust/rust-1.23.0.ebuild | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/dev-lang/rust/rust-1.21.0.ebuild b/dev-lang/rust/rust-1.21.0.ebuild index e0a13e56..89bfe315 100644 --- a/dev-lang/rust/rust-1.21.0.ebuild +++ b/dev-lang/rust/rust-1.21.0.ebuild @@ -6,7 +6,7 @@ EAPI=6 LLVM_MAX_SLOT=4 PYTHON_COMPAT=( python2_7 ) -inherit python-any-r1 versionator toolchain-funcs llvm +inherit multiprocessing python-any-r1 versionator toolchain-funcs llvm if [[ ${PV} = *beta* ]]; then betaver=${PV//*beta} @@ -173,11 +173,11 @@ src_configure() { } src_compile() { - ./x.py build || die + ./x.py build -j$(makeopts_jobs) || die } src_install() { - env DESTDIR="${D}" ./x.py install || die + env DESTDIR="${D}" ./x.py install -j$(makeopts_jobs) || die rm "${D}/usr/$(get_libdir)/rustlib/components" || die rm "${D}/usr/$(get_libdir)/rustlib/install.log" || die diff --git a/dev-lang/rust/rust-1.23.0.ebuild b/dev-lang/rust/rust-1.23.0.ebuild index cf9be2cd..f01a3896 100644 --- a/dev-lang/rust/rust-1.23.0.ebuild +++ b/dev-lang/rust/rust-1.23.0.ebuild @@ -6,7 +6,7 @@ EAPI=6 LLVM_MAX_SLOT=4 PYTHON_COMPAT=( python2_7 ) -inherit python-any-r1 versionator toolchain-funcs llvm +inherit multiprocessing python-any-r1 versionator toolchain-funcs llvm if [[ ${PV} = *beta* ]]; then betaver=${PV//*beta} @@ -178,11 +178,11 @@ src_configure() { } src_compile() { - ./x.py build || die + ./x.py build -j$(makeopts_jobs) || die } src_install() { - env DESTDIR="${D}" ./x.py install || die + env DESTDIR="${D}" ./x.py install -j$(makeopts_jobs) || die rm "${D}/usr/$(get_libdir)/rustlib/components" || die rm "${D}/usr/$(get_libdir)/rustlib/install.log" || die |