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:
8e970f4
)
scanner: split CC environment variable
author
Natanael Copa
<ncopa@alpinelinux.org>
Mon, 10 Oct 2011 13:37:55 +0000
(13:37 +0000)
committer
Colin Walters
<walters@verbum.org>
Mon, 10 Oct 2011 14:58:44 +0000
(10:58 -0400)
This fixes compilation where CC="ccache gcc" and similar.
https://bugzilla.gnome.org/show_bug.cgi?id=660160
Signed-off-by: Natanael Copa <ncopa@alpinelinux.org>
giscanner/sourcescanner.py
patch
|
blob
|
history
diff --git
a/giscanner/sourcescanner.py
b/giscanner/sourcescanner.py
index 5f0ec2d09d74a63e30d2d624a86063e2cdd59477..1e61ecf80931ffa601538b97faf1619aedb5c52f 100644
(file)
--- a/
giscanner/sourcescanner.py
+++ b/
giscanner/sourcescanner.py
@@
-274,7
+274,8
@@
class SourceScanner(object):
defines = ['__GI_SCANNER__']
undefs = []
- cpp_args = [os.environ.get('CC', 'cc'), '-E', '-C', '-I.', '-']
+ cpp_args = os.environ.get('CC', 'cc').split()
+ cpp_args += ['-E', '-C', '-I.', '-']
cpp_args += self._cpp_options
proc = subprocess.Popen(cpp_args,