aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstefson <herrtimson@yahoo.de>2018-02-03 21:02:26 +0100
committerstefson <herrtimson@yahoo.de>2018-02-03 21:02:26 +0100
commit16b43a596efd4262efcd5f07ee50da57cb4afc07 (patch)
tree4d3baeacd0634a85e3697f2b4d44fb55887f1194 /dev-util
parentdev-lang/rust: attempt to fix MAKEOPTS during src_install as well (diff)
downloadmusl-16b43a596efd4262efcd5f07ee50da57cb4afc07.tar.gz
musl-16b43a596efd4262efcd5f07ee50da57cb4afc07.tar.bz2
musl-16b43a596efd4262efcd5f07ee50da57cb4afc07.zip
dev-util/cargo: make the build system honor MAKEOPTS from make.conf
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/cargo/cargo-0.22.0-r1.ebuild4
-rw-r--r--dev-util/cargo/cargo-0.23.0.ebuild4
-rw-r--r--dev-util/cargo/cargo-0.24.0.ebuild4
3 files changed, 6 insertions, 6 deletions
diff --git a/dev-util/cargo/cargo-0.22.0-r1.ebuild b/dev-util/cargo/cargo-0.22.0-r1.ebuild
index 0b10511..4c1ff2b 100644
--- a/dev-util/cargo/cargo-0.22.0-r1.ebuild
+++ b/dev-util/cargo/cargo-0.22.0-r1.ebuild
@@ -121,7 +121,7 @@ wincolor-0.1.4
ws2_32-sys-0.2.1
"
-inherit bash-completion-r1 cargo versionator
+inherit multiprocessing bash-completion-r1 cargo versionator
case "${CHOST}" in
armv7a-hardfloat-*)
@@ -208,7 +208,7 @@ src_configure() {
src_compile() {
export CARGO_HOME="${ECARGO_HOME}"
local cargo="${WORKDIR}/cargo-${CARGO_SNAPSHOT_VERSION}-${CARGOHOST}/cargo/bin/cargo"
- ${cargo} build --release || die
+ ${cargo} build --release -j$(makeopts_jobs) || die
# Building HTML documentation
use doc && ${cargo} doc
diff --git a/dev-util/cargo/cargo-0.23.0.ebuild b/dev-util/cargo/cargo-0.23.0.ebuild
index 6ac0726..21af231 100644
--- a/dev-util/cargo/cargo-0.23.0.ebuild
+++ b/dev-util/cargo/cargo-0.23.0.ebuild
@@ -128,7 +128,7 @@ wincolor-0.1.4
ws2_32-sys-0.2.1
"
-inherit bash-completion-r1 cargo versionator
+inherit multiprocessing bash-completion-r1 cargo versionator
case "${CHOST}" in
armv7a-hardfloat-*)
@@ -215,7 +215,7 @@ src_configure() {
src_compile() {
export CARGO_HOME="${ECARGO_HOME}"
local cargo="${WORKDIR}/cargo-${CARGO_SNAPSHOT_VERSION}-${CARGOHOST}/cargo/bin/cargo"
- ${cargo} build --release || die
+ ${cargo} build --release -j$(makeopts_jobs) || die
# Building HTML documentation
use doc && ${cargo} doc
diff --git a/dev-util/cargo/cargo-0.24.0.ebuild b/dev-util/cargo/cargo-0.24.0.ebuild
index b1c7978..b04241b 100644
--- a/dev-util/cargo/cargo-0.24.0.ebuild
+++ b/dev-util/cargo/cargo-0.24.0.ebuild
@@ -132,7 +132,7 @@ wincolor-0.1.4
ws2_32-sys-0.2.1
"
-inherit bash-completion-r1 cargo versionator
+inherit multiprocessing bash-completion-r1 cargo versionator
case "${CHOST}" in
armv7a-hardfloat-*)
@@ -217,7 +217,7 @@ src_configure() {
src_compile() {
export CARGO_HOME="${ECARGO_HOME}"
local cargo="${WORKDIR}/cargo-${CARGO_SNAPSHOT_VERSION}-${CARGOHOST}/cargo/bin/cargo"
- ${cargo} build --release || die
+ ${cargo} build --release -j$(makeopts_jobs) || die
# Building HTML documentation
use doc && ${cargo} doc