commit: b711a7a20e8b85a794d9d706cd1a76d4e4401b45 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Mar 17 05:52:59 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Mar 17 05:52:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b711a7a2
sys-fs/multipath-tools: filter LTO It uses -Wl,--wrap and wrap_*. openSUSE filter LTO too. Bug: https://bugs.gentoo.org/880567 Signed-off-by: Sam James <sam <AT> gentoo.org> sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild | 2 ++ sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild | 2 ++ 2 files changed, 4 insertions(+) diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild b/sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild index d0757b9e83ff..976d89a45f9d 100644 --- a/sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild +++ b/sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild @@ -68,6 +68,8 @@ src_compile() { tc-export CC # Breaks with always_inline filter-flags -fno-semantic-interposition + # Breaks because of use of wrapping (-Wl,-wrap, wrap_*) + filter-lto myemake } diff --git a/sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild b/sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild index 2d85d3d1064e..14e7bb7a24d4 100644 --- a/sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild +++ b/sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild @@ -67,6 +67,8 @@ src_compile() { tc-export CC # Breaks with always_inline filter-flags -fno-semantic-interposition + # Breaks because of use of wrapping (-Wl,-wrap, wrap_*) + filter-lto myemake }