diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-09-25 10:24:43 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2022-09-25 10:25:24 -0700 |
commit | 3d08936b268a0b83d91b2085c8588b6e3cbe88bc (patch) | |
tree | c173c3532e3bc6ca2ca159e890b142f372281ea6 /dev-lang | |
parent | net-libs/nodejs: drop vulnerable versions (diff) | |
download | gentoo-3d08936b268a0b83d91b2085c8588b6e3cbe88bc.tar.gz gentoo-3d08936b268a0b83d91b2085c8588b6e3cbe88bc.tar.bz2 gentoo-3d08936b268a0b83d91b2085c8588b6e3cbe88bc.zip |
dev-lang/rust: fix alt-abi support, filter out flto in 1.64.0
Bug: https://bugs.gentoo.org/866231
Closes: https://bugs.gentoo.org/872815
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/rust/rust-1.64.0-r1.ebuild (renamed from dev-lang/rust/rust-1.64.0.ebuild) | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-lang/rust/rust-1.64.0.ebuild b/dev-lang/rust/rust-1.64.0-r1.ebuild index 9f7e86a87d56..d506b1ed43fb 100644 --- a/dev-lang/rust/rust-1.64.0.ebuild +++ b/dev-lang/rust/rust-1.64.0-r1.ebuild @@ -294,14 +294,13 @@ src_prepare() { } src_configure() { - use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + filter-flags '-flto*' # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231 local rust_target="" rust_targets="" arch_cflags use_libcxx="false" - local chost_target="$(get_abi_CHOST ${v##*.})" # Collect rust target names to compile standard libs for all ABIs. for v in $(multilib_get_enabled_abi_pairs); do - rust_targets+=",\"$(rust_abi ${chost_target})\"" + rust_targets+=",\"$(rust_abi $(get_abi_CHOST ${v##*.}))\"" done if use wasm; then rust_targets+=",\"wasm32-unknown-unknown\"" |