summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2018-10-03 16:41:56 +0200
committerDirkjan Ochtman <djc@gentoo.org>2018-10-03 16:42:08 +0200
commite2f81c248ffdcfa111cad3fcfdf483be13ef9eeb (patch)
tree958cd62903902cc66535a62be138a6fceff9457d
parentdev-lang/rust: add cpu_flags_x86_sse2 to REQUIRED_USE (diff)
downloadgentoo-e2f81c248ffdcfa111cad3fcfdf483be13ef9eeb.tar.gz
gentoo-e2f81c248ffdcfa111cad3fcfdf483be13ef9eeb.tar.bz2
gentoo-e2f81c248ffdcfa111cad3fcfdf483be13ef9eeb.zip
dev-lang/rust-bin: add cpu_flags_x86_sse2 to REQUIRED_USE
Bug: https://bugs.gentoo.org/665660 Signed-off-by: Dirkjan Ochtman <djc@gentoo.org> Package-Manager: Portage-2.3.49, Repoman-2.3.10
-rw-r--r--dev-lang/rust-bin/rust-bin-1.29.1.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-lang/rust-bin/rust-bin-1.29.1.ebuild b/dev-lang/rust-bin/rust-bin-1.29.1.ebuild
index 161aa8102ac..cc54a0ffd92 100644
--- a/dev-lang/rust-bin/rust-bin-1.29.1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.29.1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="amd64? ( https://static.rust-lang.org/dist/${MY_P}-x86_64-unknown-linux
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
SLOT="stable"
KEYWORDS="~amd64 ~arm64 x86"
-IUSE="cargo clippy doc libressl rustfmt"
+IUSE="cargo clippy cpu_flags_x86_sse2 doc libressl rustfmt"
CARGO_DEPEND_VERSION="0.$(($(get_version_component_range 2) + 1)).0"
@@ -39,6 +39,7 @@ RDEPEND="${DEPEND}
net-misc/curl[ssl]
)"
PDEPEND="!cargo? ( >=dev-util/cargo-${CARGO_DEPEND_VERSION} )"
+REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
QA_PREBUILT="
opt/${P}/bin/*-${PV}