1 |
commit: da77475c0d4233c4d92283a5f0f2677a02387d77 |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 3 14:38:18 2018 +0000 |
4 |
Commit: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Oct 3 14:42:08 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da77475c |
7 |
|
8 |
dev-lang/rust: add cpu_flags_x86_sse2 to REQUIRED_USE |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665660 |
11 |
Signed-off-by: Dirkjan Ochtman <djc <AT> gentoo.org> |
12 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
13 |
|
14 |
dev-lang/rust/rust-1.29.1.ebuild | 5 +++-- |
15 |
1 file changed, 3 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/dev-lang/rust/rust-1.29.1.ebuild b/dev-lang/rust/rust-1.29.1.ebuild |
18 |
index 9ff5d6b03f5..f7c35f7cda7 100644 |
19 |
--- a/dev-lang/rust/rust-1.29.1.ebuild |
20 |
+++ b/dev-lang/rust/rust-1.29.1.ebuild |
21 |
@@ -48,7 +48,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} |
22 |
|
23 |
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" |
24 |
|
25 |
-IUSE="cargo clippy debug doc +jemalloc libressl rls rustfmt wasm ${ALL_LLVM_TARGETS[*]}" |
26 |
+IUSE="cargo clippy cpu_flags_x86_sse2 debug doc +jemalloc libressl rls rustfmt wasm ${ALL_LLVM_TARGETS[*]}" |
27 |
|
28 |
RDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425 |
29 |
jemalloc? ( dev-libs/jemalloc ) |
30 |
@@ -72,7 +72,8 @@ DEPEND="${RDEPEND} |
31 |
" |
32 |
PDEPEND="!cargo? ( >=dev-util/cargo-${CARGO_DEPEND_VERSION} )" |
33 |
|
34 |
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )" |
35 |
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} ) |
36 |
+ x86? ( cpu_flags_x86_sse2 )" |
37 |
|
38 |
S="${WORKDIR}/${MY_P}-src" |