diff options
author | Alexander Neumann <Alexander.Neumann@hamburg.de> | 2021-04-27 18:20:18 +0200 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-05-10 19:17:39 +0300 |
commit | 8f12102549348f3dd24d72633f3f8f82258e8a0a (patch) | |
tree | b9853c2f9c1ffdf7732fc573f008517836fdfa43 | |
parent | 1d06d4ca1a5a2da157966fad915f9d72d2228421 (diff) | |
download | meson-8f12102549348f3dd24d72633f3f8f82258e8a0a.zip meson-8f12102549348f3dd24d72633f3f8f82258e8a0a.tar.gz meson-8f12102549348f3dd24d72633f3f8f82258e8a0a.tar.bz2 |
deactivate intrinsic functions if no optimizations are requested
-rw-r--r-- | mesonbuild/compilers/mixins/visualstudio.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers/mixins/visualstudio.py b/mesonbuild/compilers/mixins/visualstudio.py index 763d030..c9e1133 100644 --- a/mesonbuild/compilers/mixins/visualstudio.py +++ b/mesonbuild/compilers/mixins/visualstudio.py @@ -159,7 +159,7 @@ class VisualStudioLikeCompiler(Compiler, metaclass=abc.ABCMeta): return ['/c'] def get_no_optimization_args(self) -> T.List[str]: - return ['/Od'] + return ['/Od','/Oi-'] def sanitizer_compile_args(self, value: str) -> T.List[str]: if value == 'none': |