commit:     590037827fb0b839373745692ca239609c56562e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 17 15:23:38 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jul 17 15:23:56 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59003782

sys-apps/pciutils: filter LTO

Similar logic to the alsa-lib commit (31c929441087eb65c4cdcfc61b29acb3a50cb954).

If it works with LTO and not thin LTO, it seems to me it's
still seriously broken and there may be other issues lurking.

It's a warning sign and we shouldn't ignore it, hence filter
LTO entirely.

Closes: https://bugs.gentoo.org/852929
Closes: https://bugs.gentoo.org/640836
See: 31c929441087eb65c4cdcfc61b29acb3a50cb954
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-apps/pciutils/pciutils-3.8.0-r1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild 
b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
index e5301455cd23..f12dcda2ba1f 100644
--- a/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
+++ b/sys-apps/pciutils/pciutils-3.8.0-r1.ebuild
@@ -112,6 +112,9 @@ src_prepare() {
 }
 
 multilib_src_configure() {
+       # bug #640836, bug #852929
+       filter-lto
+
        # bug #471102
        append-lfs-flags
 }

Reply via email to