[gobject-introspection] common.mk: escape $CC in quotes



commit 54aaf14da2e02f1c8e60c1c5229c9b7d5932482d
Author: Peter Hutterer <peter hutterer who-t net>
Date:   Wed Dec 12 09:15:22 2012 +1000

    common.mk: escape $CC in quotes
    
    If CC is defined at "ccache gcc", the expanded command ends up as:
      env PATH=... CC=ccache gcc PYTHONPATH=... ./g-ir-scanner
    causing compilation errors.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=690074

 common.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/common.mk b/common.mk
index f67b2e8..87ceaee 100644
--- a/common.mk
+++ b/common.mk
@@ -9,7 +9,7 @@
 INTROSPECTION_SCANNER = \
     env PATH=.libs:$(PATH) \
         LPATH=.libs \
-        CC=$(CC) \
+        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]