projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4fa885
)
resolve_btfids: Always build with -Wall -Werror
author
Ihor Solodrai
<ihor.solodrai@linux.dev>
Fri, 19 Dec 2025 18:13:17 +0000
(10:13 -0800)
committer
Andrii Nakryiko
<andrii@kernel.org>
Fri, 19 Dec 2025 18:55:40 +0000
(10:55 -0800)
resolve_btfids builds without compiler warnings currently, so let's
enforce this for future changes with '-Wall -Werror' flags [1].
[1] https://lore.kernel.org/bpf/
1957a60b
-6c45-42a7-b525-
a6e335a735ff
@linux.dev/
Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Tested-by: Alan Maguire <alan.maguire@oracle.com>
Link:
https://lore.kernel.org/bpf/20251219181321.1283664-5-ihor.solodrai@linux.dev
tools/bpf/resolve_btfids/Makefile
patch
|
blob
|
history
diff --git
a/tools/bpf/resolve_btfids/Makefile
b/tools/bpf/resolve_btfids/Makefile
index
ce1b556
..
1733a6e
100644
(file)
--- a/
tools/bpf/resolve_btfids/Makefile
+++ b/
tools/bpf/resolve_btfids/Makefile
@@
-70,7
+70,8
@@
HOSTCFLAGS_resolve_btfids += -g \
-I$(srctree)/tools/include/uapi \
-I$(LIBBPF_INCLUDE) \
-I$(SUBCMD_INCLUDE) \
- $(LIBELF_FLAGS)
+ $(LIBELF_FLAGS) \
+ -Wall -Werror
LIBS = $(LIBELF_LIBS) -lz