summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2020-12-09 22:40:50 (GMT)
committerMark Brand <mabrand@mabrand.nl>2020-12-09 22:44:48 (GMT)
commit765a0a8ca43236e9dce6763d59be7f0b94c6b1d9 (patch)
tree6cfb4e3eb4f3ff831b12f08c73b3ee435726b4bf
parent4adf1376678ff16d2b678464e9e94bf989249f2a (diff)
downloadmxe-765a0a8ca43236e9dce6763d59be7f0b94c6b1d9.zip
mxe-765a0a8ca43236e9dce6763d59be7f0b94c6b1d9.tar.gz
mxe-765a0a8ca43236e9dce6763d59be7f0b94c6b1d9.tar.bz2
glib: work around build failures with mingw-w64 8
-rw-r--r--src/glib.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glib.mk b/src/glib.mk
index 19b92dc..6f3c95b 100644
--- a/src/glib.mk
+++ b/src/glib.mk
@@ -103,6 +103,7 @@ define $(PKG)_BUILD
--disable-inotify \
CXX='$(TARGET)-g++' \
PKG_CONFIG='$(PREFIX)/bin/$(TARGET)-pkg-config' \
+ CFLAGS='-Wno-incompatible-pointer-types -Wno-deprecated-declarations -Wno-format' \
GLIB_GENMARSHAL='$(PREFIX)/$(TARGET)/bin/glib-genmarshal' \
GLIB_COMPILE_SCHEMAS='$(PREFIX)/$(TARGET)/bin/glib-compile-schemas' \
GLIB_COMPILE_RESOURCES='$(PREFIX)/$(TARGET)/bin/glib-compile-resources'