summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>2015-08-21 22:32:32 +0200
committerColin Walters <walters@verbum.org>2015-08-24 09:41:57 -0400
commit82b86785e91175060deb0425756bfa76c68cd36f (patch)
treedbe9da79e55084d57535a77c2a7ae6414cb1348e
parent1107048a485f10d693966d40770b260a53d472be (diff)
downloadgobject-introspection-82b86785e91175060deb0425756bfa76c68cd36f.tar.gz
g-ir-scanner: Support multiple arguments for compiler
This should allow `CC='ccache gcc'` or the like to work. https://bugzilla.gnome.org/show_bug.cgi?id=753949 Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
-rw-r--r--giscanner/ccompiler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py
index f9105fe7..438f847e 100644
--- a/giscanner/ccompiler.py
+++ b/giscanner/ccompiler.py
@@ -102,7 +102,7 @@ class CCompiler(object):
if (isinstance(self.compiler, Mingw32CCompiler)):
self.compiler_cmd = self.compiler.compiler[0]
else:
- self.compiler_cmd = ''.join(self.compiler.executables['compiler'])
+ self.compiler_cmd = ' '.join(self.compiler.compiler)
self._cflags_no_deprecation_warnings = "-Wno-deprecated-declarations"