summaryrefslogtreecommitdiff
path: root/giscanner/sourcescanner.py
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2009-08-24 14:23:21 -0400
committerColin Walters <walters@verbum.org>2009-08-24 14:23:21 -0400
commit5e1c9e463e0cecc6e1952a7dae55641850e7a87d (patch)
tree6ba0b85835dee6d4afa07a900049346507055ac2 /giscanner/sourcescanner.py
parentbacb23155a5fb370493d0ce2fc438ea6c2982a45 (diff)
downloadgobject-introspection-5e1c9e463e0cecc6e1952a7dae55641850e7a87d.tar.gz
Bug 590883 - Use 'cc' instead of 'gcc' for preprocessing
Don't hardcode gcc, any cc which handles those options is good enough; in particular this is reported to fix Sun Studio.
Diffstat (limited to 'giscanner/sourcescanner.py')
-rw-r--r--giscanner/sourcescanner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py
index 1a8194d5..7b06478d 100644
--- a/giscanner/sourcescanner.py
+++ b/giscanner/sourcescanner.py
@@ -250,7 +250,7 @@ class SourceScanner(object):
defines = ['__GI_SCANNER__']
undefs = []
- cpp_args = ['gcc', '-E', '-C', '-I.', '-']
+ cpp_args = ['cc', '-E', '-C', '-I.', '-']
cpp_args += self._cpp_options
proc = subprocess.Popen(cpp_args,