]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - samples/bpf/Makefile
samples/bpf: fix build by setting HAVE_ATTR_TEST to zero
[mirror_ubuntu-bionic-kernel.git] / samples / bpf / Makefile
index 961b45c5eee03a1e278232143afdd15b3d9ec1e2..f57d8d104892f600ed94fa1677014d037653cad0 100644 (file)
@@ -143,6 +143,7 @@ HOSTCFLAGS += -I$(srctree)/tools/lib/
 HOSTCFLAGS += -I$(srctree)/tools/testing/selftests/bpf/
 HOSTCFLAGS += -I$(srctree)/tools/lib/ -I$(srctree)/tools/include
 HOSTCFLAGS += -I$(srctree)/tools/perf
+HOSTCFLAGS += -DHAVE_ATTR_TEST=0
 
 HOSTCFLAGS_bpf_load.o += -I$(objtree)/usr/include -Wno-unused-variable
 HOSTLOADLIBES_fds_example += -lelf