aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2018-12-29 18:43:13 +0200
committerGitHub <noreply@github.com>2018-12-29 18:43:13 +0200
commit3d7c32a34e9d7a1f0e0c5c701f1afdf411b0194c (patch)
tree1bc4ed13fbdb9c64c5306add59e18ad694c0159d /mesonbuild/compilers/cpp.py
parentc4a6b193d4f4043872e5e9f16e75ec76f4582398 (diff)
parent4da68b7ba922e1daa5f8ceb852e48a3297d29c70 (diff)
downloadmeson-3d7c32a34e9d7a1f0e0c5c701f1afdf411b0194c.zip
meson-3d7c32a34e9d7a1f0e0c5c701f1afdf411b0194c.tar.gz
meson-3d7c32a34e9d7a1f0e0c5c701f1afdf411b0194c.tar.bz2
Merge pull request #4451 from jon-turney/simplify-x86-msvc-test
Simplify x86 msvc test
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 87371c0..d702e83 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -308,9 +308,9 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler):
class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler):
- def __init__(self, exelist, version, is_cross, exe_wrap, is_64):
+ def __init__(self, exelist, version, is_cross, exe_wrap, target):
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap)
- VisualStudioCCompiler.__init__(self, exelist, version, is_cross, exe_wrap, is_64)
+ VisualStudioCCompiler.__init__(self, exelist, version, is_cross, exe_wrap, target)
self.base_options = ['b_pch', 'b_vscrt'] # FIXME add lto, pgo and the like
def get_options(self):
@@ -387,8 +387,8 @@ class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler):
return VisualStudioCCompiler.get_compiler_check_args(self)
class ClangClCPPCompiler(VisualStudioCPPCompiler, ClangClCCompiler):
- def __init__(self, exelist, version, is_cross, exe_wrap, is_64):
- VisualStudioCPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, is_64)
+ def __init__(self, exelist, version, is_cross, exe_wrap, target):
+ VisualStudioCPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap, target)
self.id = 'clang-cl'
class ArmCPPCompiler(ArmCompiler, CPPCompiler):