diff options
author | Christoph Behle <behlec@gmail.com> | 2017-12-19 19:58:19 +0100 |
---|---|---|
committer | Christoph Behle <behlec@gmail.com> | 2017-12-19 19:58:19 +0100 |
commit | c772841af700676151e5e9616b7896e9a04f8e65 (patch) | |
tree | 1beb95f336ae5e28ef64404a68604565f84eec31 /mesonbuild/compilers/c.py | |
parent | 7bd30c522bf720fa51995d93277cb1946444afdd (diff) | |
download | meson-c772841af700676151e5e9616b7896e9a04f8e65.zip meson-c772841af700676151e5e9616b7896e9a04f8e65.tar.gz meson-c772841af700676151e5e9616b7896e9a04f8e65.tar.bz2 |
Fix: More information for C compilers.
Add full version to gnu and icc C compiler.
Diffstat (limited to 'mesonbuild/compilers/c.py')
-rw-r--r-- | mesonbuild/compilers/c.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 3b931b5..c1982d6 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -831,7 +831,7 @@ class ClangCCompiler(ClangCompiler, CCompiler): class GnuCCompiler(GnuCompiler, CCompiler): def __init__(self, exelist, version, gcc_type, is_cross, exe_wrapper=None, defines=None, **kwargs): - CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper) + CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper, **kwargs) GnuCompiler.__init__(self, gcc_type, defines) default_warn_args = ['-Wall', '-Winvalid-pch'] self.warn_args = {'1': default_warn_args, @@ -870,7 +870,7 @@ class GnuCCompiler(GnuCompiler, CCompiler): class IntelCCompiler(IntelCompiler, CCompiler): def __init__(self, exelist, version, icc_type, is_cross, exe_wrapper=None, **kwargs): - CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper) + CCompiler.__init__(self, exelist, version, is_cross, exe_wrapper, **kwargs) IntelCompiler.__init__(self, icc_type) self.lang_header = 'c-header' default_warn_args = ['-Wall', '-w3', '-diag-disable:remark', '-Wpch-messages'] |