Skip to content

Commit

Permalink
bpftool: turn off libbfd feature in host build
Browse files Browse the repository at this point in the history
libbfd feature is not used when building eBPF program, and it makes bpftool fail to build in a clean environment, since binutils in toolchain have libbfd disabled.

Signed-off-by: Eric Long <[email protected]>
Link: openwrt#17073
Signed-off-by: Robert Marko <[email protected]>
  • Loading branch information
hack3ric authored and robimarko committed Dec 9, 2024
1 parent 477c8a5 commit 3d8d818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/network/utils/bpftool/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ HOST_MAKE_FLAGS += \
$(if $(findstring c,$(OPENWRT_VERBOSE)),V=1,V='') \
check_feat=0 \
feature-clang-bpf-co-re=0 \
feature-libbfd=1 \
feature-libbfd=0 \
feature-llvm=0 \
feature-libcap=0 \
feature-disassembler-four-args=1 \
Expand Down

0 comments on commit 3d8d818

Please sign in to comment.