[gobject-introspection] Back out the previous change. Now go back to hardcoding compiler to gcc.



commit 42c838d26a9b1ff71f26096d1adf8ee306e2ebcd
Author: Brian Cameron <Brian Cameron sun com>
Date:   Wed Aug 5 14:25:30 2009 -0500

    Back out the previous change.  Now go back to hardcoding compiler to gcc.
    Using CC fails when building gobject-introspection because CC is defined to
    be $(SHELL) scripts/shave cc '$(SHAVE_SAVED_CC)'.  A more sophisticated fix
    will be needed later.

 giscanner/sourcescanner.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index b14214a..1a8194d 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -250,7 +250,7 @@ class SourceScanner(object):
 
         defines = ['__GI_SCANNER__']
         undefs = []
-        cpp_args = [os.environ.get('CC', 'gcc'), '-E', '-C', '-I.', '-']
+        cpp_args = ['gcc', '-E', '-C', '-I.', '-']
 
         cpp_args += self._cpp_options
         proc = subprocess.Popen(cpp_args,



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