--- rust-1.62.1.ebuild 2022-08-02 08:40:23.000000000 +0100 +++ rust-1.62.1-r1.ebuild 2022-08-25 01:42:58.039477969 +0100 @@ -256,7 +256,7 @@ } src_configure() { - use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + filter-lto # https://bugs.gentoo.org/862109 & https://bugs.gentoo.org/866231 local rust_target="" rust_targets="" arch_cflags use_libcxx="false"