From 199c705446c8cfcb8162356e41756a9de9bcba5c Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Thu, 4 Jun 2020 22:27:34 -0700 Subject: iproute2: Fix some warnings --- pkg/iproute2/gen.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/iproute2/gen.lua') diff --git a/pkg/iproute2/gen.lua b/pkg/iproute2/gen.lua index cc782881..270e0eb8 100644 --- a/pkg/iproute2/gen.lua +++ b/pkg/iproute2/gen.lua @@ -1,6 +1,7 @@ cflags{ '-Wall', '-Wformat=2', '-Wmissing-declarations', '-Wmissing-prototypes', - '-Wold-style-definition', '-Wstrict-prototypes', + '-Wold-style-definition', '-Wstrict-prototypes', '-Wno-maybe-uninitialized', + '-Wno-cpp', -- we don't have libmnl '-D _GNU_SOURCE', '-D HAVE_SETNS', [[-D 'NETNS_RUN_DIR="/run/netns"']], -- cgit v1.2.3