From: Colin Walters Date: Fri, 26 Oct 2012 18:55:54 +0000 (-0400) Subject: common: Ensure we use $(CC) from environment when compiling scanned binaries X-Git-Tag: GOBJECT_INTROSPECTION_1_35_2~47 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7b639e21fc285fdf46bd5f890f7911619d71d232;p=platform%2Fupstream%2Fgobject-introspection.git common: Ensure we use $(CC) from environment when compiling scanned binaries GNU make will default to "gcc" if "cc" isn't found; we need to replicate that behavior here. Patch-suggested-by: ojab https://bugzilla.gnome.org/show_bug.cgi?id=678678 --- diff --git a/common.mk b/common.mk index 052d5b4..f67b2e8 100644 --- a/common.mk +++ b/common.mk @@ -9,6 +9,7 @@ INTROSPECTION_SCANNER = \ env PATH=.libs:$(PATH) \ LPATH=.libs \ + CC=$(CC) \ PYTHONPATH=$(top_builddir):$(top_srcdir) \ UNINSTALLED_INTROSPECTION_SRCDIR=$(top_srcdir) \ UNINSTALLED_INTROSPECTION_BUILDDIR=$(top_builddir) \