diff options
author | Colin Walters <walters@verbum.org> | 2012-10-26 14:55:54 -0400 |
---|---|---|
committer | Colin Walters <walters@verbum.org> | 2012-10-26 14:59:24 -0400 |
commit | 7b639e21fc285fdf46bd5f890f7911619d71d232 (patch) | |
tree | 71f120127847be39eefff12c539704811b82983b /common.mk | |
parent | f9e760cdef4eaf06495da048513f825aaf95a10d (diff) | |
download | gobject-introspection-7b639e21fc285fdf46bd5f890f7911619d71d232.tar.gz |
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 <ojab@ojab.ru>
https://bugzilla.gnome.org/show_bug.cgi?id=678678
Diffstat (limited to 'common.mk')
-rw-r--r-- | common.mk | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) \ |