diff options
author | Brian Cameron <Brian.Cameron@sun.com> | 2009-08-05 14:25:30 -0500 |
---|---|---|
committer | Brian Cameron <Brian.Cameron@sun.com> | 2009-08-05 14:25:30 -0500 |
commit | 42c838d26a9b1ff71f26096d1adf8ee306e2ebcd (patch) | |
tree | b048a7ad8397f82b448324634b1848ea6c11b3ed | |
parent | 14aa104cc501239eeb772ea83e887d7a30f8fce7 (diff) | |
download | gobject-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.py | 2 |
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, |