diff options
author | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-28 18:17:08 +0300 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2013-08-28 18:17:08 +0300 |
commit | 02a725510a2d3144fa8cc4d974a0676841b3f478 (patch) | |
tree | 5e508293191ced5ceb19298f406c2653d5f5e274 /environment.py | |
parent | 9e7a092ee502959f6130efe565b1dc1e0180c53d (diff) | |
download | meson-02a725510a2d3144fa8cc4d974a0676841b3f478.zip meson-02a725510a2d3144fa8cc4d974a0676841b3f478.tar.gz meson-02a725510a2d3144fa8cc4d974a0676841b3f478.tar.bz2 |
Bring MSVS up to date.
Diffstat (limited to 'environment.py')
-rw-r--r-- | environment.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/environment.py b/environment.py index 362ab35..c918521 100644 --- a/environment.py +++ b/environment.py @@ -383,8 +383,8 @@ class VisualStudioCCompiler(CCompiler): std_opt_flags= ['/O2'] always_flags = ['/nologo', '/showIncludes'] - def __init__(self, exelist): - CCompiler.__init__(self, exelist) + def __init__(self, exelist, is_cross, exe_wrap): + CCompiler.__init__(self, exelist, is_cross, exe_wrap) self.id = 'msvc' def get_always_flags(self): @@ -457,8 +457,8 @@ class VisualStudioCCompiler(CCompiler): raise EnvironmentException('Executables created by C++ compiler %s are not runnable.' % self.name_string()) class VisualStudioCPPCompiler(VisualStudioCCompiler): - def __init__(self, exelist): - VisualStudioCCompiler.__init__(self, exelist) + def __init__(self, exelist, is_cross, exe_wrap): + VisualStudioCCompiler.__init__(self, exelist, is_cross, exe_wrap) self.language = 'cpp' self.default_suffix = 'cpp' |