summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-08 14:36:24 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2023-06-08 14:36:24 -0700
commitcb267efc08762205ed876dcb7f6339f4ad7f6883 (patch)
tree4d0892a587a72077e2c181b5991461134384b72d /dev-lang/rust-bin
parentRevert "dev-lang/rust: de-keyword rust-1.70.0 due to ongoing issues with -bin" (diff)
downloadgentoo-cb267efc08762205ed876dcb7f6339f4ad7f6883.tar.gz
gentoo-cb267efc08762205ed876dcb7f6339f4ad7f6883.tar.bz2
gentoo-cb267efc08762205ed876dcb7f6339f4ad7f6883.zip
Revert "dev-lang/rust-bin: re-enable strip in 1.70.0"
This reverts commit ad740d09d0a952503a4ecee24d1096207d2e0785. Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang/rust-bin')
-rw-r--r--dev-lang/rust-bin/rust-bin-1.70.0.ebuild (renamed from dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild)9
1 files changed, 4 insertions, 5 deletions
diff --git a/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild b/dev-lang/rust-bin/rust-bin-1.70.0.ebuild
index 5205a10f872a..93ef429779a2 100644
--- a/dev-lang/rust-bin/rust-bin-1.70.0-r1.ebuild
+++ b/dev-lang/rust-bin/rust-bin-1.70.0.ebuild
@@ -39,6 +39,10 @@ BDEPEND="
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
+# stripping rust may break it (at least on x86_64)
+# https://github.com/rust-lang/rust/issues/112286
+RESTRICT="strip"
+
QA_PREBUILT="
opt/${P}/bin/.*
opt/${P}/lib/.*.so
@@ -204,11 +208,6 @@ multilib_src_install() {
# BUG: installs x86_64 binary on other arches
rm -f "${ED}/opt/${P}/lib/rustlib/"*/bin/rust-llvm-dwp || die
-
- # libLLVM must NOT be stripped
- # it's not present on all arches, but if present and stripped rustc will segfault.
- # https://github.com/rust-lang/rust/issues/112286
- dostrip -x *libLLVM-*
}
pkg_postinst() {