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:
f3f8de2
)
Handle multiple arguments for $CC
author
Colin Walters
<walters@verbum.org>
Wed, 25 Feb 2009 17:25:28 +0000
(12:25 -0500)
committer
Colin Walters
<walters@verbum.org>
Wed, 25 Feb 2009 17:25:28 +0000
(12:25 -0500)
This makes the dumper not fail for people who set $CC to e.g. "distcc gcc".
giscanner/dumper.py
patch
|
blob
|
history
diff --git
a/giscanner/dumper.py
b/giscanner/dumper.py
index
95a66ab
..
c8f9927
100644
(file)
--- a/
giscanner/dumper.py
+++ b/
giscanner/dumper.py
@@
-165,7
+165,8
@@
class DumpCompiler(object):
return ['libtool']
def _compile(self, output, *sources):
- args = [self._compiler_cmd]
+ # Not strictly speaking correct, but easier than parsing shell
+ args = self._compiler_cmd.split()
if self._compiler_cmd == 'gcc':
args.append('-Wall')
pkgconfig_flags = self._run_pkgconfig('--cflags')