summaryrefslogtreecommitdiff
path: root/pkg/fuse/gen.lua
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2021-09-06 23:23:17 -0700
committerMichael Forney <mforney@mforney.org>2021-09-06 23:38:04 -0700
commit031b61d7138cc1b50ddffffca76ed9e5bbc5d044 (patch)
treefd7909b8de2de97274d3c0bd8cad5d99782d51ed /pkg/fuse/gen.lua
parent7fc1b2256b046713245e6f29927c8039e8c16767 (diff)
fuse: Various portability fixes
Diffstat (limited to 'pkg/fuse/gen.lua')
-rw-r--r--pkg/fuse/gen.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/fuse/gen.lua b/pkg/fuse/gen.lua
index 48ab9286..681ca9a6 100644
--- a/pkg/fuse/gen.lua
+++ b/pkg/fuse/gen.lua
@@ -1,4 +1,7 @@
cflags{
+ '-std=c11', '-Wall', '-Wpedantic',
+ '-Wno-overflow', -- ioctl opcode conversion
+ '-D _POSIX_C_SOURCE=200809L',
'-I $dir',
'-I $srcdir/include',
'-I $srcdir/lib',