opkg

statically linked package installer
git clone anongit@rnpnr.xyz:opkg.git
Log | Files | Refs | Feed | Submodules | README | LICENSE

Commit: ad79abe68e7522517fb8a94b42035d21319d0d32
Parent: f05270a517e5fcffbd250669b50d0cb4d442c59e
Author: Michael Forney
Date:   Sat, 16 Mar 2024 23:59:50 -0700

add some warning flags

Diffstat:
Mpkg/lang/awk/gen.lua | 2+-
Mpkg/libs/lpeg/gen.lua | 2+-
Mpkg/libs/zlib/gen.lua | 2+-
Mpkg/sys/less/gen.lua | 2++
Mpkg/textproc/md4c/gen.lua | 1+
5 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/pkg/lang/awk/gen.lua b/pkg/lang/awk/gen.lua @@ -1,5 +1,5 @@ cflags({ - '-std=c99', + '-std=c11', '-Wall', '-Wpedantic', '-D _XOPEN_SOURCE=700', '-I $outdir', '-I $srcdir', diff --git a/pkg/libs/lpeg/gen.lua b/pkg/libs/lpeg/gen.lua @@ -1,5 +1,5 @@ cflags({ - '-std=c99', + '-std=c99', '-Wall', '-Wpedantic', '-D NDEBUG', '-isystem $builddir/pkg/lang/lua/include', }) diff --git a/pkg/libs/zlib/gen.lua b/pkg/libs/zlib/gen.lua @@ -1,5 +1,5 @@ cflags({ - '-D HAVE_HIDDEN', + '-std=c99', '-Wall', '-Wpedantic', '-D HAVE_STDARG_H', '-D HAVE_UNISTD_H', '-D _LARGEFILE64_SOURCE', diff --git a/pkg/sys/less/gen.lua b/pkg/sys/less/gen.lua @@ -1,4 +1,6 @@ cflags({ + '-std=c99', '-Wall', '-Wpedantic', '-Wno-maybe-uninitialized', + '-D _XOPEN_SOURCE=700', '-I $dir', '-isystem $builddir/pkg/libs/netbsd-curses/include', }) diff --git a/pkg/textproc/md4c/gen.lua b/pkg/textproc/md4c/gen.lua @@ -1,4 +1,5 @@ cflags({ + '-std=c99', '-Wall', '-Wpedantic', '-I $dir', '-I $srcdir/src', '-D MD4C_USE_UTF8',