commit: fa8a2f3f144e39e71da0216e53a92bb6cf59689e
parent 99508b4b3d987581455fcb32d89d9bff80f142df
Author: Michael Forney <mforney@mforney.org>
Date: Fri, 5 Jun 2020 02:57:03 -0700
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:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git 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',