diff options
-rw-r--r-- | authors.txt | 1 | ||||
-rw-r--r-- | mesonbuild/compilers.py | 4 |
2 files changed, 3 insertions, 2 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..cb6b7c7 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 = {} @@ -1128,7 +1128,7 @@ class VisualStudioCCompiler(CCompiler): return ['/OUT:' + outputname] def get_pic_args(self): - return ['/LD'] + return [] # PIC is handled by the loader on Windows def get_std_shared_lib_link_args(self): return ['/DLL'] |