[gobject-introspection] common: Ensure we use $(CC) from environment when compiling scanned binaries



commit 7b639e21fc285fdf46bd5f890f7911619d71d232
Author: Colin Walters <walters verbum org>
Date:   Fri Oct 26 14:55:54 2012 -0400

    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

 common.mk |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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) \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]