aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers.py
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2016-02-13 05:15:21 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2016-02-17 14:28:19 +0530
commit3fcd056e860241d1053ee370bacc36eda1d0c5e6 (patch)
treef83f7da7300abea397c659c95ee730d9b57881a8 /mesonbuild/compilers.py
parentedd61dcf816bba751acf44583a1b4162bb37ea8f (diff)
downloadmeson-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.py2
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 = {}