summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2018-10-03 16:38:18 +0200
committerDirkjan Ochtman <djc@gentoo.org>2018-10-03 16:42:08 +0200
commitda77475c0d4233c4d92283a5f0f2677a02387d77 (patch)
tree247e3120f56ea065e79ea01bc37c648eff67b0e3
parentsci-electronics/gazebo: bump to 9.4.1 (diff)
downloadgentoo-da77475c0d4233c4d92283a5f0f2677a02387d77.tar.gz
gentoo-da77475c0d4233c4d92283a5f0f2677a02387d77.tar.bz2
gentoo-da77475c0d4233c4d92283a5f0f2677a02387d77.zip
dev-lang/rust: add cpu_flags_x86_sse2 to REQUIRED_USE
Closes: 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/rust-1.29.1.ebuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-lang/rust/rust-1.29.1.ebuild b/dev-lang/rust/rust-1.29.1.ebuild
index 9ff5d6b03f5..f7c35f7cda7 100644
--- a/dev-lang/rust/rust-1.29.1.ebuild
+++ b/dev-lang/rust/rust-1.29.1.ebuild
@@ -48,7 +48,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
-IUSE="cargo clippy debug doc +jemalloc libressl rls rustfmt wasm ${ALL_LLVM_TARGETS[*]}"
+IUSE="cargo clippy cpu_flags_x86_sse2 debug doc +jemalloc libressl rls rustfmt wasm ${ALL_LLVM_TARGETS[*]}"
RDEPEND=">=app-eselect/eselect-rust-0.3_pre20150425
jemalloc? ( dev-libs/jemalloc )
@@ -72,7 +72,8 @@ DEPEND="${RDEPEND}
"
PDEPEND="!cargo? ( >=dev-util/cargo-${CARGO_DEPEND_VERSION} )"
-REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
+REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
+ x86? ( cpu_flags_x86_sse2 )"
S="${WORKDIR}/${MY_P}-src"