aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefson <herrtimson@yahoo.de>2018-02-03 21:46:29 +0100
committerstefson <herrtimson@yahoo.de>2018-02-03 21:46:29 +0100
commit1808c612c0dc6b99670bfc32fa75c00782c3764e (patch)
tree268ca7753b736fbb7ea895c12d18195899c26c29 /dev-lang
parentdev-util/cargo: make the build system honor MAKEOPTS from make.conf (diff)
downloadmusl-1808c612c0dc6b99670bfc32fa75c00782c3764e.tar.gz
musl-1808c612c0dc6b99670bfc32fa75c00782c3764e.tar.bz2
musl-1808c612c0dc6b99670bfc32fa75c00782c3764e.zip
dev-lang/rust: backport the fix for MAKEOPTS
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/rust/rust-1.21.0.ebuild6
-rw-r--r--dev-lang/rust/rust-1.23.0.ebuild6
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 e0a13e5..89bfe31 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 cf9be2c..f01a389 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