commit:     3f9bf9b7864852284a7ad6e48e96cf4cc4085fcb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon May 12 00:35:42 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon May 12 00:36:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f9bf9b7

dev-util/kyua: filter -fno-semantic-interposition w/ LTO

Investigation is needed to see whether -Wodr is legitimate here.

Closes: https://bugs.gentoo.org/948053
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/kyua/kyua-0.14.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/kyua/kyua-0.14.ebuild b/dev-util/kyua/kyua-0.14.ebuild
index 6a1d218752d9..5d6e804f687d 100644
--- a/dev-util/kyua/kyua-0.14.ebuild
+++ b/dev-util/kyua/kyua-0.14.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools flag-o-matic
+inherit autotools flag-o-matic toolchain-funcs
 
 DESCRIPTION="Testing framework for infrastructure software"
 HOMEPAGE="https://github.com/freebsd/kyua";
@@ -33,7 +33,7 @@ src_prepare() {
 
 src_configure() {
        # bug #948053
-       filter-lto
+       tc-is-lto && filter-flags -fno-semantic-interposition
 
        # Skip coredump tests; they fail when sudo sets RLIMIT_CORE = 0.
        cat >"${T}/kyua.conf" <<-EOF || die

Reply via email to