[gobject-introspection] Bug 590883 - Use 'cc' instead of 'gcc' for preprocessing



commit 5e1c9e463e0cecc6e1952a7dae55641850e7a87d
Author: Colin Walters <walters verbum org>
Date:   Mon Aug 24 14:23:21 2009 -0400

    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.

 giscanner/sourcescanner.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]