aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/mixins/intel.py
diff options
context:
space:
mode:
authorIan Harvey <Ian.Harvey@megms.com.au>2020-09-27 11:00:15 +0930
committerDylan Baker <dylan@pnwbakers.com>2020-09-30 12:01:50 -0700
commit3afe18228a339987f7298fc46c01c313e77b19ae (patch)
tree6bfe1957d9be205721d080e4512fc396a2df3c74 /mesonbuild/compilers/mixins/intel.py
parentce2d927a7963caea26e858bead3123adc274606c (diff)
downloadmeson-3afe18228a339987f7298fc46c01c313e77b19ae.zip
meson-3afe18228a339987f7298fc46c01c313e77b19ae.tar.gz
meson-3afe18228a339987f7298fc46c01c313e77b19ae.tar.bz2
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.
Diffstat (limited to 'mesonbuild/compilers/mixins/intel.py')
-rw-r--r--mesonbuild/compilers/mixins/intel.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/mixins/intel.py b/mesonbuild/compilers/mixins/intel.py
index b83e5c4..5bb55ff 100644
--- a/mesonbuild/compilers/mixins/intel.py
+++ b/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'],