logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
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:

Mpkg/libgpiod/gen.lua1+
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',