commit: 04f61962c54e44fd37e34018f7be9bbef663d8dd Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Fri Jul 29 18:16:07 2022 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Fri Jul 29 18:23:25 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f61962
dev-lang/rust: filter out -flto flags Bug: https://bugs.gentoo.org/862109 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-lang/rust/rust-1.59.0.ebuild | 2 ++ dev-lang/rust/rust-1.60.0.ebuild | 2 ++ dev-lang/rust/rust-1.61.0-r2.ebuild | 2 ++ dev-lang/rust/rust-1.62.0.ebuild | 2 ++ dev-lang/rust/rust-1.62.1.ebuild | 2 ++ 5 files changed, 10 insertions(+) diff --git a/dev-lang/rust/rust-1.59.0.ebuild b/dev-lang/rust/rust-1.59.0.ebuild index b4e6eebe900f..c3dfac4c574d 100644 --- a/dev-lang/rust/rust-1.59.0.ebuild +++ b/dev-lang/rust/rust-1.59.0.ebuild @@ -258,6 +258,8 @@ src_prepare() { } src_configure() { + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + local rust_target="" rust_targets="" arch_cflags # Collect rust target names to compile standard libs for all ABIs. diff --git a/dev-lang/rust/rust-1.60.0.ebuild b/dev-lang/rust/rust-1.60.0.ebuild index 0b2ab02a8e65..1dda442d1071 100644 --- a/dev-lang/rust/rust-1.60.0.ebuild +++ b/dev-lang/rust/rust-1.60.0.ebuild @@ -256,6 +256,8 @@ src_prepare() { } src_configure() { + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + local rust_target="" rust_targets="" arch_cflags # Collect rust target names to compile standard libs for all ABIs. diff --git a/dev-lang/rust/rust-1.61.0-r2.ebuild b/dev-lang/rust/rust-1.61.0-r2.ebuild index 57d88e14bea0..263edc8ca004 100644 --- a/dev-lang/rust/rust-1.61.0-r2.ebuild +++ b/dev-lang/rust/rust-1.61.0-r2.ebuild @@ -259,6 +259,8 @@ src_prepare() { } src_configure() { + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + local rust_target="" rust_targets="" arch_cflags use_libcxx="false" # Collect rust target names to compile standard libs for all ABIs. diff --git a/dev-lang/rust/rust-1.62.0.ebuild b/dev-lang/rust/rust-1.62.0.ebuild index 4b8fdf357c6e..8da92fd3854b 100644 --- a/dev-lang/rust/rust-1.62.0.ebuild +++ b/dev-lang/rust/rust-1.62.0.ebuild @@ -256,6 +256,8 @@ src_prepare() { } src_configure() { + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + local rust_target="" rust_targets="" arch_cflags use_libcxx="false" # Collect rust target names to compile standard libs for all ABIs. diff --git a/dev-lang/rust/rust-1.62.1.ebuild b/dev-lang/rust/rust-1.62.1.ebuild index 5775cd6e8835..35015cb50b61 100644 --- a/dev-lang/rust/rust-1.62.1.ebuild +++ b/dev-lang/rust/rust-1.62.1.ebuild @@ -256,6 +256,8 @@ src_prepare() { } src_configure() { + use system-llvm && filter-flags '-flto*' # https://bugs.gentoo.org/862109 + local rust_target="" rust_targets="" arch_cflags use_libcxx="false" # Collect rust target names to compile standard libs for all ABIs.