--- glib-2.57.2/configure.ac	2018-07-31 20:31:07.000000000 +0200
+++ glib-2.57.2/configure.ac	2018-08-02 19:09:02.569368144 +0200
@@ -3398,8 +3398,8 @@
    -Wno-bad-function-cast \
    -Werror=declaration-after-statement \
    -Werror=missing-prototypes -Werror=implicit-function-declaration \
-   -Werror=pointer-arith -Werror=init-self -Werror=format-security \
-   -Werror=format=2 -Werror=missing-include-dirs])
+   -Werror=pointer-arith -Werror=init-self -Wno-error=format-security \
+   -Wno-error=format=2 -Werror=missing-include-dirs])
 ])
 AC_SUBST(GLIB_WARN_CFLAGS)
 
