1 |
commit: e2f81c248ffdcfa111cad3fcfdf483be13ef9eeb |
2 |
Author: Dirkjan Ochtman <djc <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Oct 3 14:41:56 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=e2f81c24 |
7 |
|
8 |
dev-lang/rust-bin: add cpu_flags_x86_sse2 to REQUIRED_USE |
9 |
|
10 |
Bug: 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-bin/rust-bin-1.29.1.ebuild | 3 ++- |
15 |
1 file changed, 2 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-lang/rust-bin/rust-bin-1.29.1.ebuild b/dev-lang/rust-bin/rust-bin-1.29.1.ebuild |
18 |
index 161aa8102ac..cc54a0ffd92 100644 |
19 |
--- a/dev-lang/rust-bin/rust-bin-1.29.1.ebuild |
20 |
+++ b/dev-lang/rust-bin/rust-bin-1.29.1.ebuild |
21 |
@@ -21,7 +21,7 @@ SRC_URI="amd64? ( https://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux |
22 |
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA" |
23 |
SLOT="stable" |
24 |
KEYWORDS="~amd64 ~arm64 x86" |
25 |
-IUSE="cargo clippy doc libressl rustfmt" |
26 |
+IUSE="cargo clippy cpu_flags_x86_sse2 doc libressl rustfmt" |
27 |
|
28 |
CARGO_DEPEND_VERSION="0.$(($(get_version_component_range 2) + 1)).0" |
29 |
|
30 |
@@ -39,6 +39,7 @@ RDEPEND="${DEPEND} |
31 |
net-misc/curl[ssl] |
32 |
)" |
33 |
PDEPEND="!cargo? ( >=dev-util/cargo-${CARGO_DEPEND_VERSION} )" |
34 |
+REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )" |
35 |
|
36 |
QA_PREBUILT=" |
37 |
opt/${P}/bin/*-${PV} |