projects
/
gnome.gobject-introspection
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81956ad
)
Check the CC environment variable instead of assuming to use the gcc compiler.
author
Brian Cameron
<Brian.Cameron@sun.com>
Wed, 5 Aug 2009 17:40:28 +0000
(12:40 -0500)
committer
Brian Cameron
<Brian.Cameron@sun.com>
Wed, 5 Aug 2009 17:40:28 +0000
(12:40 -0500)
giscanner/sourcescanner.py
patch
|
blob
|
history
diff --git
a/giscanner/sourcescanner.py
b/giscanner/sourcescanner.py
index
1a8194d
..
b14214a
100644
(file)
--- 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 = [
os.environ.get('CC', 'gcc')
, '-E', '-C', '-I.', '-']
cpp_args += self._cpp_options
proc = subprocess.Popen(cpp_args,