commit: d4840720dd19e04b3f366990a9e43f6e88a11ee1 Author: Yixun Lan <dlan <AT> gentoo <DOT> org> AuthorDate: Fri Mar 17 21:12:11 2023 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Fri Mar 17 21:13:19 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4840720
dev-vcs/stgit: filter out LTO flags Closes: https://bugs.gentoo.org/897692 Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> dev-vcs/stgit/stgit-2.1.0.ebuild | 6 +++++- dev-vcs/stgit/stgit-2.2.0.ebuild | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/dev-vcs/stgit/stgit-2.1.0.ebuild b/dev-vcs/stgit/stgit-2.1.0.ebuild index 695bde8fecfd..20fc837b2e4e 100644 --- a/dev-vcs/stgit/stgit-2.1.0.ebuild +++ b/dev-vcs/stgit/stgit-2.1.0.ebuild @@ -123,7 +123,7 @@ CRATES=" xattr-0.2.3 " -inherit cargo +inherit cargo flag-o-matic DESCRIPTION="Manage a stack of patches using GIT as a backend" HOMEPAGE="https://stacked-git.github.io" @@ -144,6 +144,10 @@ RDEPEND="" # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/${PN}" +src_configure() { + filter-lto #bug 897692 +} + src_compile() { cargo_src_compile emake completion diff --git a/dev-vcs/stgit/stgit-2.2.0.ebuild b/dev-vcs/stgit/stgit-2.2.0.ebuild index c1d5ca48fd91..5c031f871323 100644 --- a/dev-vcs/stgit/stgit-2.2.0.ebuild +++ b/dev-vcs/stgit/stgit-2.2.0.ebuild @@ -175,7 +175,7 @@ CRATES=" xattr-0.2.3 " -inherit cargo +inherit cargo flag-o-matic DESCRIPTION="Manage a stack of patches using GIT as a backend" HOMEPAGE="https://stacked-git.github.io" @@ -196,6 +196,10 @@ RDEPEND="" # update with proper path to binaries this crate installs, omit leading / QA_FLAGS_IGNORED="usr/bin/${PN}" +src_configure() { + filter-lto #bug 897692 +} + src_compile() { cargo_src_compile emake completion
