From 3fcd056e860241d1053ee370bacc36eda1d0c5e6 Mon Sep 17 00:00:00 2001 From: Nirbheek Chauhan Date: Sat, 13 Feb 2016 05:15:21 +0530 Subject: 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. --- mesonbuild/compilers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/compilers.py') 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 = {} -- cgit v1.1