summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-03-17 05:52:59 +0000
committerSam James <sam@gentoo.org>2024-03-17 05:52:59 +0000
commitb711a7a20e8b85a794d9d706cd1a76d4e4401b45 (patch)
treeedc237cbb0990fe49332baf51d88a5b09bcf374c /sys-fs/multipath-tools
parentdev-scheme/bigloo: mark as LTO-unsafe (diff)
downloadgentoo-b711a7a20e8b85a794d9d706cd1a76d4e4401b45.tar.gz
gentoo-b711a7a20e8b85a794d9d706cd1a76d4e4401b45.tar.bz2
gentoo-b711a7a20e8b85a794d9d706cd1a76d4e4401b45.zip
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@gentoo.org>
Diffstat (limited to 'sys-fs/multipath-tools')
-rw-r--r--sys-fs/multipath-tools/multipath-tools-0.9.7-r1.ebuild2
-rw-r--r--sys-fs/multipath-tools/multipath-tools-0.9.7.ebuild2
2 files changed, 4 insertions, 0 deletions
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
}