Blame SOURCES/redhat-bugzilla-2117074-vendored_vmlinux.h.patch

e014c1
commit 23bfdcbac0b0fb7bd33f092c6f2ad56889480335
e014c1
Author: Andreas Gerstmayr <agerstmayr@redhat.com>
e014c1
Date:   Thu Oct 27 14:22:37 2022 +0200
e014c1
e014c1
    build: use vendored vmlinux.h when compiling bpftool
e014c1
e014c1
diff --git a/vendor/GNUmakefile b/vendor/GNUmakefile
e014c1
index a0c29d4b45..57151e4671 100644
e014c1
--- a/vendor/GNUmakefile
e014c1
+++ b/vendor/GNUmakefile
e014c1
@@ -3,7 +3,7 @@ include $(TOPDIR)/src/include/builddefs
e014c1
 
e014c1
 default_pcp default:
e014c1
 ifeq "$(PMDA_BPF)" "true"
e014c1
-	$(MAKE) -C github.com/libbpf/bpftool/src
e014c1
+	$(MAKE) -C github.com/libbpf/bpftool/src VMLINUX_H=$(PMDABPF_VMLINUXH)
e014c1
 endif
e014c1
 
e014c1
 install_pcp install: