aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorHechao Li <hechaol@fb.com>2019-06-10 17:43:07 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-06-11 10:34:44 +0200
commit89cceaa939171fafa153d4bf637b39e396bbd785 (patch)
tree4c96f77291033b06669751ee8f8770ab90b75219 /tools/lib/bpf/libbpf.c
parentselftests/bpf: fix constness of source arg for bpf helpers (diff)
downloadlinux-dev-89cceaa939171fafa153d4bf637b39e396bbd785.tar.xz
linux-dev-89cceaa939171fafa153d4bf637b39e396bbd785.zip
selftests/bpf : clean up feature/ when make clean
An error "implicit declaration of function 'reallocarray'" can be thrown with the following steps: $ cd tools/testing/selftests/bpf $ make clean && make CC=<Path to GCC 4.8.5> $ make clean && make CC=<Path to GCC 7.x> The cause is that the feature folder generated by GCC 4.8.5 is not removed, leaving feature-reallocarray being 1, which causes reallocarray not defined when re-compliing with GCC 7.x. This diff adds feature folder to EXTRA_CLEAN to avoid this problem. v2: Rephrase the commit message. Signed-off-by: Hechao Li <hechaol@fb.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions