summaryrefslogtreecommitdiff
path: root/Makefile.introspection
diff options
context:
space:
mode:
authorDieter Verfaillie <dieterv@optionexplicit.be>2015-03-30 23:28:55 +0200
committerDieter Verfaillie <dieterv@optionexplicit.be>2015-04-18 21:07:53 +0200
commit1f3db7840a2551a55c198f8b42ee6947f48b021e (patch)
treeff58a3b39991ed63abfe6e6037a4c6b05fd1e952 /Makefile.introspection
parent92d9c387687cf71f7113df54f0297fb0633c9afc (diff)
downloadgobject-introspection-1f3db7840a2551a55c198f8b42ee6947f48b021e.tar.gz
Makefile.introspection: pass CC to scanner
Extends commit 92d9c38 to also pass CC to g-ir-scanner. https://bugzilla.gnome.org/show_bug.cgi?id=700066
Diffstat (limited to 'Makefile.introspection')
-rw-r--r--Makefile.introspection2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.introspection b/Makefile.introspection
index 973d9d33..cd7bd1b1 100644
--- a/Makefile.introspection
+++ b/Makefile.introspection
@@ -84,7 +84,7 @@ _gir_silent_compiler = $(_gir_silent_compiler_$(V))
_gir_silent_compiler_ = $(_gir_silent_compiler_$(_gir_verbosity))
_gir_silent_compiler_0 = @echo " GICOMP $(1)";
-_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
+_gir_default_scanner_env = CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" CC="$(CC)"
#
# Creates a GIR by scanning C headers/sources