diff options
| author | Michael Forney <mforney@mforney.org> | 2020-06-05 02:57:03 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-06-05 03:11:11 -0700 |
| commit | fa8a2f3f144e39e71da0216e53a92bb6cf59689e (patch) | |
| tree | 53a9efa28ef12b80aaed1ebc8223aca03f2daab3 /pkg/libgpiod/gen.lua | |
| parent | 99508b4b3d987581455fcb32d89d9bff80f142df (diff) | |
libgpiod: Disable overflow warning for ioctl request code
musl declares ioctl to have an int request code, so some requests
might cause signed integer overflow, but will behave as expected.
Diffstat (limited to 'pkg/libgpiod/gen.lua')
| -rw-r--r-- | pkg/libgpiod/gen.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/libgpiod/gen.lua b/pkg/libgpiod/gen.lua index 02c2d1b6..6eb34ec3 100644 --- a/pkg/libgpiod/gen.lua +++ b/pkg/libgpiod/gen.lua @@ -1,5 +1,6 @@ cflags{ '-std=c99', '-Wall', '-Wextra', '-Wpedantic', + '-Wno-overflow', -- ioctl opcode conversion '-I $srcdir/include', '-isystem $builddir/pkg/linux-headers/include', '-include $dir/config.h', |
