From 42c838d26a9b1ff71f26096d1adf8ee306e2ebcd Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Wed, 5 Aug 2009 14:25:30 -0500 Subject: 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 file changed, 1 insertion(+), 1 deletion(-) (limited to 'giscanner') 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, -- cgit v1.2.1