diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-18 14:33:50 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-18 17:16:15 -0700 |
commit | 8d708236058601f1b08b0ca2a1cd9fff28034416 (patch) | |
tree | a63a619bc9aa72891cb2b26374ef193b922beec2 /tools/lib/bpf | |
parent | 65bb2e0fc5a67200db95911207ef9662aaf7ab9d (diff) | |
download | linux-8d708236058601f1b08b0ca2a1cd9fff28034416.tar.gz linux-8d708236058601f1b08b0ca2a1cd9fff28034416.tar.bz2 linux-8d708236058601f1b08b0ca2a1cd9fff28034416.zip |
libbpf: Disable -Wswitch-enum compiler warning
That compilation warning is more annoying, than helpful.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200818213356.2629020-2-andriin@fb.com
Diffstat (limited to 'tools/lib/bpf')
-rw-r--r-- | tools/lib/bpf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile index bf8ed134cb8a..95c946e94ca5 100644 --- a/tools/lib/bpf/Makefile +++ b/tools/lib/bpf/Makefile @@ -107,7 +107,7 @@ ifeq ($(feature-reallocarray), 0) endif # Append required CFLAGS -override CFLAGS += $(EXTRA_WARNINGS) +override CFLAGS += $(EXTRA_WARNINGS) -Wno-switch-enum override CFLAGS += -Werror -Wall override CFLAGS += -fPIC override CFLAGS += $(INCLUDES) |