From 7b0aa9b837da4a84a2d88bc063e7f4edca62330a Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 9 Sep 2026 19:19:12 +0100 Subject: [PATCH] dev-util/bcc: filter LTO No activity on the upstream bug and Holger's PRs didn't get reviewed by upstream. Closes: https://bugs.gentoo.org/938491 Signed-off-by: Sam James --- dev-util/bcc/bcc-0.36.1-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/bcc/bcc-0.36.1-r1.ebuild b/dev-util/bcc/bcc-0.36.1-r1.ebuild index d79e7a7e98c20..a449bfdbc1637 100644 --- a/dev-util/bcc/bcc-0.36.1-r1.ebuild +++ b/dev-util/bcc/bcc-0.36.1-r1.ebuild @@ -9,7 +9,8 @@ DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{{11..14},{13..14}t} ) LLVM_COMPAT=( {16..22} ) -inherit cmake linux-info llvm-r1 lua-single distutils-r1 toolchain-funcs +inherit cmake flag-o-matic linux-info llvm-r1 lua-single +inherit distutils-r1 toolchain-funcs DESCRIPTION="Tools for BPF-based Linux IO analysis, networking, monitoring, and more" HOMEPAGE="https://iovisor.github.io/bcc/" @@ -134,6 +135,9 @@ src_prepare() { } src_configure() { + # bug #938491 + filter-lto + local mycmakeargs=( -DREVISION=${PV%%_*} -DENABLE_LIBDEBUGINFOD=$(usex debuginfod)