aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/cpp.py
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2017-02-19 16:34:17 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2017-07-17 19:15:04 +0300
commit8396c4f3e6bfea6bbef6539055090902c089d375 (patch)
treec5bfc233e992955fe81e5e75657b74866e8b6cea /mesonbuild/compilers/cpp.py
parentfefbb296f7100a31044fe281735bb413807680f0 (diff)
downloadmeson-8396c4f3e6bfea6bbef6539055090902c089d375.zip
meson-8396c4f3e6bfea6bbef6539055090902c089d375.tar.gz
meson-8396c4f3e6bfea6bbef6539055090902c089d375.tar.bz2
Added VS support to simd detector.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r--mesonbuild/compilers/cpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py
index 01525b0..a8fc8a3 100644
--- a/mesonbuild/compilers/cpp.py
+++ b/mesonbuild/compilers/cpp.py
@@ -173,10 +173,10 @@ class IntelCPPCompiler(IntelCompiler, CPPCompiler):
class VisualStudioCPPCompiler(VisualStudioCCompiler, CPPCompiler):
- def __init__(self, exelist, version, is_cross, exe_wrap):
+ def __init__(self, exelist, version, is_cross, exe_wrap, is_64):
self.language = 'cpp'
CPPCompiler.__init__(self, exelist, version, is_cross, exe_wrap)
- VisualStudioCCompiler.__init__(self, exelist, version, is_cross, exe_wrap)
+ VisualStudioCCompiler.__init__(self, exelist, version, is_cross, exe_wrap, is_64)
self.base_options = ['b_pch'] # FIXME add lto, pgo and the like
def get_options(self):