[gtk+] Give CC to instrospection scanner



commit 0d53a581b47ece98f5c426cd7f7473b14de0d0a0
Author: Руслан Ижбулатов <lrn1986 gmail com>
Date:   Fri Mar 28 14:03:30 2014 +0000

    Give CC to instrospection scanner
    
    Introspection scanner-generation script gets compiler from the CC
    environment, we need to set it.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=722817

 gdk/Makefile.am |    2 ++
 gtk/Makefile.am |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index 6444eca..ed4540c 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -2,6 +2,8 @@
 include $(top_srcdir)/Makefile.decl
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ENV = \
+   CC="$(CC)"
 INTROSPECTION_SCANNER_ARGS = \
        --add-include-path=../gdk \
        --warn-all
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index f8c0cb3..68b3eeb 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -2,6 +2,8 @@
 include $(top_srcdir)/Makefile.decl
 -include $(INTROSPECTION_MAKEFILE)
 INTROSPECTION_GIRS =
+INTROSPECTION_SCANNER_ENV = \
+       CC="$(CC)"
 INTROSPECTION_SCANNER_ARGS = \
        --add-include-path=../gdk \
        --warn-all


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