dev-util/bcc: Fix build with newer libbpf

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
This commit is contained in:
Patrick McLean
2021-12-01 23:02:23 -08:00
parent 57919bdf15
commit 57bbc9e24e

View File

@@ -92,6 +92,7 @@ src_configure() {
-DREVISION=${PV%%_*}
-DENABLE_LLVM_SHARED=ON
-DCMAKE_USE_LIBBPF_PACKAGE=ON
-DLIBBPF_INCLUDE_DIRS="$(pkg-config --cflags-only-I libbpf | sed 's:-I::g')"
-DKERNEL_INCLUDE_DIRS="${KERNEL_DIR}"
-DPYTHON_CMD="${bcc_python_impls%;}"
-Wno-dev