--- ./gtkspell/Makefile.am.orig	2015-01-12 11:51:39.685322000 +0100
+++ ./gtkspell/Makefile.am	2015-01-12 11:51:05.691346400 +0100
@@ -52,6 +52,7 @@
 
 if HAVE_INTROSPECTION
 INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ENV = CC="$(CC)"
 
 if ENABLE_GTK3
 GtkSpell-3.0.gir: libgtkspell3-3.la
