1 |
commit: 7affc9f183165f8c5ce8fa2dcaebb2d74ae137dc |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 11 07:19:42 2018 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 11 07:19:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7affc9f1 |
7 |
|
8 |
dev-util/cargo: tweak the build command and die early |
9 |
|
10 |
dev-util/cargo/cargo-0.29.0.ebuild | 4 ++-- |
11 |
1 file changed, 2 insertions(+), 2 deletions(-) |
12 |
|
13 |
diff --git a/dev-util/cargo/cargo-0.29.0.ebuild b/dev-util/cargo/cargo-0.29.0.ebuild |
14 |
index e5043089537..984fa0934a2 100644 |
15 |
--- a/dev-util/cargo/cargo-0.29.0.ebuild |
16 |
+++ b/dev-util/cargo/cargo-0.29.0.ebuild |
17 |
@@ -125,7 +125,7 @@ wincolor-0.1.6 |
18 |
wincolor-1.0.0 |
19 |
" |
20 |
|
21 |
-inherit cargo bash-completion-r1 versionator |
22 |
+inherit cargo bash-completion-r1 multiprocessing versionator |
23 |
|
24 |
BOOTSTRAP_VERSION="0.$(($(get_version_component_range 2) - 1)).0" |
25 |
|
26 |
@@ -195,7 +195,7 @@ src_configure() { |
27 |
src_compile() { |
28 |
export CARGO_HOME="${ECARGO_HOME}" |
29 |
local cargo="${WORKDIR}/cargo-${BOOTSTRAP_VERSION}-${TRIPLE}/cargo/bin/cargo" |
30 |
- ${cargo} build --release |
31 |
+ ${cargo} build -j$(makeopts_jobs) --release || die |
32 |
|
33 |
# Building HTML documentation |
34 |
use doc && ${cargo} doc |