diff options
| author | Eric Long | 2024-11-25 13:26:47 +0000 |
|---|---|---|
| committer | Hauke Mehrtens | 2024-12-10 00:06:10 +0000 |
| commit | 5afd3daebad3d0e115afbf76574095bfeb82f976 (patch) | |
| tree | ec99a84a1ac3dcdbf1e3d1c51f0cd2a1fd5c4a11 | |
| parent | 1eba94e67b53b803125090c25e7fa3b2a5cfa572 (diff) | |
| download | openwrt-5afd3daebad3d0e115afbf76574095bfeb82f976.tar.gz | |
bpftool: turn off libbfd feature in host build
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 <i@hack3r.moe>
Link: https://github.com/openwrt/openwrt/pull/17073
Signed-off-by: Robert Marko <robimarko@gmail.com>
(cherry picked from commit 3d8d81883fb2e607590bcb523587e37e1485b3b8)
| -rw-r--r-- | package/network/utils/bpftool/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/network/utils/bpftool/Makefile b/package/network/utils/bpftool/Makefile index f2726d1896..c6cc92e18d 100644 --- a/package/network/utils/bpftool/Makefile +++ b/package/network/utils/bpftool/Makefile @@ -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 \ |