]> git.ipfire.org Git - thirdparty/zstd.git/commit
meson: fix warnings in build files
authorEli Schwartz <eschwartz@archlinux.org>
Mon, 9 Aug 2021 01:11:20 +0000 (21:11 -0400)
committerEli Schwartz <eschwartz@archlinux.org>
Tue, 10 Aug 2021 00:17:00 +0000 (20:17 -0400)
commitd95a3f50973592184f956cf937cc1aedca4e464c
treebd7dd8e62d55fca9dca6f1313b8ed9e0a34d0af9
parentee3355df30752456481541d6e120f60fd1f81e8f
meson: fix warnings in build files

meson prefers that project-level options for Wall/Wextra/pedantic be
used, rather than hardcoding raw flags in add_project_arguments. If you
do the latter anyway, it raises a meson warning.

Set the default options for the project to use all this.

Also move the -Werror comment to the project default options with
appropriate format, but leave it commented out since it does not work.
build/meson/contrib/pzstd/meson.build
build/meson/meson.build