mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 03:24:45 +01:00
resolve_btfids: Always build with -Wall -Werror
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
This commit is contained in:
parent
a4fa885bd5
commit
fb348d4fdf
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue