commit:     9e089b30a9eb24208fc37ef1e561b0f9031c131d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 14:57:08 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Jan 14 14:57:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e089b30

dev-util/kyua: filter LTO for now

I don't yet understand what's going wrong so filter LTO until investigated;
bisected it to a build system change and it feels like some macro is/isn't
being set consistently now (we've had that before) which causes -Wodr
warnings.

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

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

diff --git a/dev-util/kyua/kyua-0.14.ebuild b/dev-util/kyua/kyua-0.14.ebuild
index feca4c10e157..6a1d218752d9 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
+inherit autotools flag-o-matic
 
 DESCRIPTION="Testing framework for infrastructure software"
 HOMEPAGE="https://github.com/freebsd/kyua";
@@ -32,6 +32,9 @@ src_prepare() {
 }
 
 src_configure() {
+       # bug #948053
+       filter-lto
+
        # Skip coredump tests; they fail when sudo sets RLIMIT_CORE = 0.
        cat >"${T}/kyua.conf" <<-EOF || die
        syntax(2)

Reply via email to