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)