aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-02-17 19:46:54 +0200
committerJussi Pakkanen <jpakkane@gmail.com>2016-02-17 19:46:54 +0200
commite0fbde786c44da9aec61c6945beb80815547889e (patch)
tree5c78fdbdd4b743f17ef83400dd4b0f31c5a364d0
parentedd61dcf816bba751acf44583a1b4162bb37ea8f (diff)
parent05547a44fc3e3613bdaf4a83e935e90eaea721af (diff)
downloadmeson-e0fbde786c44da9aec61c6945beb80815547889e.zip
meson-e0fbde786c44da9aec61c6945beb80815547889e.tar.gz
meson-e0fbde786c44da9aec61c6945beb80815547889e.tar.bz2
Merge pull request #385 from nirbheek/debugoptimized
compilers: Don't pass /D for debugoptimized build type
-rw-r--r--authors.txt1
-rw-r--r--mesonbuild/compilers.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/authors.txt b/authors.txt
index 54e3412..68bdb24 100644
--- a/authors.txt
+++ b/authors.txt
@@ -28,3 +28,4 @@ Yoav Alon
Martin Ejdestig
Rémi Nicole
Damián Nohales
+Nirbheek Chauhan
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 = {}