diff options
author | Ian Harvey <Ian.Harvey@megms.com.au> | 2020-09-27 11:00:15 +0930 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-09-30 12:01:50 -0700 |
commit | 3afe18228a339987f7298fc46c01c313e77b19ae (patch) | |
tree | 6bfe1957d9be205721d080e4512fc396a2df3c74 /mesonbuild/compilers | |
parent | ce2d927a7963caea26e858bead3123adc274606c (diff) | |
download | meson-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')
-rw-r--r-- | mesonbuild/compilers/mixins/intel.py | 4 |
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'], |