about summary refs log tree commit diff
path: root/m4/introspection.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/introspection.m4')
-rw-r--r--m4/introspection.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/introspection.m4 b/m4/introspection.m4
index 589721c5..efe0e9ac 100644
--- a/m4/introspection.m4
+++ b/m4/introspection.m4
@@ -63,7 +63,7 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL],
        INTROSPECTION_LIBS=`$PKG_CONFIG --libs gobject-introspection-1.0`
        INTROSPECTION_MAKEFILE=`$PKG_CONFIG --variable=datadir gobject-introspection-1.0`/gobject-introspection-1.0/Makefile.introspection
     fi
-    AC_SUBST(INTROSPECTION_SCANNER)
+    AC_SUBST(INTROSPECTION_SCANNER, 'CFLAGS="${CFLAGS} -Wno-error" '"$INTROSPECTION_SCANNER")
     AC_SUBST(INTROSPECTION_COMPILER)
     AC_SUBST(INTROSPECTION_GENERATE)
     AC_SUBST(INTROSPECTION_GIRDIR)