diff options
author | Elliot Haisley <35050275+Apache-HB@users.noreply.github.com> | 2020-07-18 15:34:24 -0400 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2020-07-19 15:26:30 +0300 |
commit | 063b74ebba51133d5a79b86c984165c6709ad9d8 (patch) | |
tree | 5056644a9f61308ed5bd01ed58fe0d2cac37007f /mesonbuild/compilers/cpp.py | |
parent | 43129a11edab304c98e94af4d894f5f872617fa5 (diff) | |
download | meson-063b74ebba51133d5a79b86c984165c6709ad9d8.zip meson-063b74ebba51133d5a79b86c984165c6709ad9d8.tar.gz meson-063b74ebba51133d5a79b86c984165c6709ad9d8.tar.bz2 |
fix msvc not recognising b_ndebug
fixes #7404
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index 478a68c..f5b0c05 100644 --- a/mesonbuild/compilers/cpp.py +++ b/mesonbuild/compilers/cpp.py @@ -577,7 +577,7 @@ class VisualStudioCPPCompiler(CPP11AsCPP14Mixin, VisualStudioLikeCPPCompilerMixi is_cross: bool, info: 'MachineInfo', exe_wrap, target, **kwargs): CPPCompiler.__init__(self, exelist, version, for_machine, is_cross, info, exe_wrap, **kwargs) MSVCCompiler.__init__(self, target) - self.base_options = ['b_pch', 'b_vscrt'] # FIXME add lto, pgo and the like + self.base_options = ['b_pch', 'b_vscrt', 'b_ndebug'] # FIXME add lto, pgo and the like self.id = 'msvc' def get_options(self): |