From: Colin Walters Date: Mon, 24 Aug 2009 18:23:21 +0000 (-0400) Subject: Bug 590883 - Use 'cc' instead of 'gcc' for preprocessing X-Git-Tag: GOBJECT_INTROSPECTION_0_6_4~4 X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=5e1c9e463e0cecc6e1952a7dae55641850e7a87d;p=gnome.gobject-introspection 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. --- diff --git a/giscanner/sourcescanner.py b/giscanner/sourcescanner.py index 1a8194d..7b06478 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,