summaryrefslogtreecommitdiff
path: root/pkg/iproute2/gen.lua
diff options
context:
space:
mode:
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"']],