[gobject-introspection] g-ir-scanner: Support multiple arguments for compiler
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection] g-ir-scanner: Support multiple arguments for compiler
- Date: Mon, 24 Aug 2015 13:42:53 +0000 (UTC)
commit 82b86785e91175060deb0425756bfa76c68cd36f
Author: Marc-Antoine Perennou <Marc-Antoine Perennou com>
Date: Fri Aug 21 22:32:32 2015 +0200
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>
giscanner/ccompiler.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/giscanner/ccompiler.py b/giscanner/ccompiler.py
index f9105fe..438f847 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]