summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Cameron <Brian.Cameron@sun.com>2009-08-05 14:25:30 -0500
committerBrian Cameron <Brian.Cameron@sun.com>2009-08-05 14:25:30 -0500
commit42c838d26a9b1ff71f26096d1adf8ee306e2ebcd (patch)
treeb048a7ad8397f82b448324634b1848ea6c11b3ed
parent14aa104cc501239eeb772ea83e887d7a30f8fce7 (diff)
downloadgobject-introspection-42c838d26a9b1ff71f26096d1adf8ee306e2ebcd.tar.gz
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.
-rw-r--r--giscanner/sourcescanner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index b14214ad..1a8194d5 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,