1 |
commit: 57bbc9e24ea07e0d6da06e9c591da6222427f4a8 |
2 |
Author: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 2 07:02:23 2021 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 2 07:03:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57bbc9e2 |
7 |
|
8 |
dev-util/bcc: Fix build with newer libbpf |
9 |
|
10 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
11 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
12 |
|
13 |
dev-util/bcc/bcc-0.23.0.ebuild | 1 + |
14 |
1 file changed, 1 insertion(+) |
15 |
|
16 |
diff --git a/dev-util/bcc/bcc-0.23.0.ebuild b/dev-util/bcc/bcc-0.23.0.ebuild |
17 |
index a5029626a40d..ed3e78d5e3c5 100644 |
18 |
--- a/dev-util/bcc/bcc-0.23.0.ebuild |
19 |
+++ b/dev-util/bcc/bcc-0.23.0.ebuild |
20 |
@@ -92,6 +92,7 @@ src_configure() { |
21 |
-DREVISION=${PV%%_*} |
22 |
-DENABLE_LLVM_SHARED=ON |
23 |
-DCMAKE_USE_LIBBPF_PACKAGE=ON |
24 |
+ -DLIBBPF_INCLUDE_DIRS="$(pkg-config --cflags-only-I libbpf | sed 's:-I::g')" |
25 |
-DKERNEL_INCLUDE_DIRS="${KERNEL_DIR}" |
26 |
-DPYTHON_CMD="${bcc_python_impls%;}" |
27 |
-Wno-dev |