compilers: Use /Od for no-optimisation flag for Intel compilers on windows

Intel compilers on Windows (and the Microsoft C++ compiler) use /Od to disable optimisation, not /O0.
pull/7773/head
Ian Harvey 4 years ago committed by Dylan Baker
parent ce2d927a79
commit 3afe18228a
  1. 4
      mesonbuild/compilers/mixins/intel.py

@ -145,8 +145,8 @@ class IntelVisualStudioLikeCompiler(VisualStudioLikeCompiler):
} # type: T.Dict[str, T.List[str]]
OPTIM_ARGS = {
'0': ['/O0'],
'g': ['/O0'],
'0': ['/Od'],
'g': ['/Od'],
'1': ['/O1'],
'2': ['/O2'],
'3': ['/O3'],

Loading…
Cancel
Save