Skip to content

Commit

Permalink
dev-lang/rust-bin: add cpu_flags_x86_sse2 to REQUIRED_USE
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/665660
Signed-off-by: Dirkjan Ochtman <[email protected]>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
  • Loading branch information
djc committed Oct 3, 2018
1 parent da77475 commit e2f81c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev-lang/rust-bin/rust-bin-1.29.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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}
Expand Down

0 comments on commit e2f81c2

Please sign in to comment.