logo

oasis

Own branch of Oasis Linux (upstream: <https://git.sr.ht/~mcf/oasis/>) git clone https://anongit.hacktivis.me/git/oasis.git
commit: 02ce2286f445234e7bbb04c95a1e5168e0d48c35
parent b6908ccb56a16367e6f7e5e4d91e90854bacb280
Author: Michael Forney <mforney@mforney.org>
Date:   Thu, 27 May 2021 01:11:08 -0700

zstd: Disable #pragma message when building with cproc

Also, remove accidentally checked-in debug ldflags.

Diffstat:

Mpkg/zstd/gen.lua3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/pkg/zstd/gen.lua b/pkg/zstd/gen.lua @@ -8,8 +8,9 @@ cflags{ '-D ZSTD_NODICT', '-D ZSTD_NOTRACE', '-D ZSTD_TRACE=0', + '-D ZSTD_DISABLE_DEPRECATE_WARNINGS', + '-D ZDICT_DISABLE_DEPRECATE_WARNINGS', } -set('ldflags', '-static') pkg.hdrs = { copy('$outdir/include', '$srcdir/lib', {'zstd.h', 'zdict.h', 'zstd_errors.h'}),