projects
/
platform
/
upstream
/
gobject-introspection.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f081d7
)
Let the user override the default compiler with the CC env variable
author
Andoni Morales Alastruey
<ylatuya@gmail.com>
Sat, 3 Sep 2011 17:53:49 +0000
(19:53 +0200)
committer
Colin Walters
<walters@verbum.org>
Sat, 3 Sep 2011 18:42:40 +0000
(14:42 -0400)
giscanner/sourcescanner.py
patch
|
blob
|
history
diff --git
a/giscanner/sourcescanner.py
b/giscanner/sourcescanner.py
index e3968e32afb4bf8ca537184075967523c15e8d8a..5f0ec2d09d74a63e30d2d624a86063e2cdd59477 100644
(file)
--- a/
giscanner/sourcescanner.py
+++ b/
giscanner/sourcescanner.py
@@
-274,7
+274,7
@@
class SourceScanner(object):
defines = ['__GI_SCANNER__']
undefs = []
- cpp_args = [
'cc'
, '-E', '-C', '-I.', '-']
+ cpp_args = [
os.environ.get('CC', 'cc')
, '-E', '-C', '-I.', '-']
cpp_args += self._cpp_options
proc = subprocess.Popen(cpp_args,