meson: Disable -Wformat-nonliteral for the embedded gnulib
commitd137cebf8f1fc15cec9938fc649e99c382b2a23c
authorChristoph Reiter <creiter@src.gnome.org>
Thu, 22 Feb 2018 18:23:28 +0000 (22 19:23 +0100)
committerChristoph Reiter <creiter@src.gnome.org>
Wed, 25 Apr 2018 15:23:49 +0000 (25 17:23 +0200)
tree2b0b19baf6d8d6ad1e0c90dc05b29a890d1af8e0
parent384a166ed3284f9557d8b7819d95c1639a492132
meson: Disable -Wformat-nonliteral for the embedded gnulib

glib enables -Werror=format-nonliteral by default which is triggered
by the embedded gnulib (in vasnprintf.c). Disable that warning
for gnulib alone. The gnulib code is there to handle user provided
format strings, so the warning doesn't add anything anyway.

This fixes the build under MinGW.

https://bugzilla.gnome.org/show_bug.cgi?id=793729
glib/gnulib/meson.build