diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-02-13 05:15:21 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2016-02-17 14:28:19 +0530 |
commit | 3fcd056e860241d1053ee370bacc36eda1d0c5e6 (patch) | |
tree | f83f7da7300abea397c659c95ee730d9b57881a8 /mesonbuild/compilers.py | |
parent | edd61dcf816bba751acf44583a1b4162bb37ea8f (diff) | |
download | meson-3fcd056e860241d1053ee370bacc36eda1d0c5e6.zip meson-3fcd056e860241d1053ee370bacc36eda1d0c5e6.tar.gz meson-3fcd056e860241d1053ee370bacc36eda1d0c5e6.tar.bz2 |
compilers: Don't pass /D for debugoptimized build type
/D is the same as -D and stands for define not debug. Passing this would swallow
the next argument.
Diffstat (limited to 'mesonbuild/compilers.py')
-rw-r--r-- | mesonbuild/compilers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/compilers.py b/mesonbuild/compilers.py index 0f29808..5eaffaf 100644 --- a/mesonbuild/compilers.py +++ b/mesonbuild/compilers.py @@ -61,7 +61,7 @@ gnulike_buildtype_args = {'plain' : [], msvc_buildtype_args = {'plain' : [], 'debug' : ["/MDd", "/ZI", "/Ob0", "/Od", "/RTC1"], - 'debugoptimized' : ["/MD", "/Zi", "/O2", "/Ob1", "/D"], + 'debugoptimized' : ["/MD", "/Zi", "/O2", "/Ob1"], 'release' : ["/MD", "/O2", "/Ob2"]} gnulike_buildtype_linker_args = {} |