summaryrefslogtreecommitdiff
path: root/pkg/iproute2/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-04 22:27:34 -0700
committerMichael Forney <mforney@mforney.org>2020-06-05 03:01:44 -0700
commit199c705446c8cfcb8162356e41756a9de9bcba5c (patch)
tree7ee9f7603c2883bed61a62131d4f000df6da9cb7 /pkg/iproute2/gen.lua
parent2f32b84cb259d95193f0eff42dc08b861df1ed68 (diff)
iproute2: Fix some warnings
Diffstat (limited to 'pkg/iproute2/gen.lua')
-rw-r--r--pkg/iproute2/gen.lua3
1 files changed, 2 insertions, 1 deletions
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"']],