Skip to content
This repository has been archived by the owner on Nov 17, 2020. It is now read-only.

Commit

Permalink
Back out the previous change. Now go back to hardcoding compiler to gcc.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Brian Cameron authored and Brian Cameron committed Aug 5, 2009
1 parent 14aa104 commit 42c838d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion giscanner/sourcescanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def _parse(self, filenames):

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,
Expand Down

0 comments on commit 42c838d

Please sign in to comment.