mirror of https://github.com/python/cpython
Added compiler flags suggested by Thomas Heller: optimize, use multi-threaded
RT library.
This commit is contained in:
parent
1b3a9af5cf
commit
8dbf681a97
|
@ -37,7 +37,7 @@ class MSVCCompiler (CCompiler) :
|
||||||
self.cc = "cl.exe"
|
self.cc = "cl.exe"
|
||||||
self.link = "link.exe"
|
self.link = "link.exe"
|
||||||
self.preprocess_options = None
|
self.preprocess_options = None
|
||||||
self.compile_options = [ '/nologo' ]
|
self.compile_options = [ '/nologo', '/Ox', '/MD', '/GD' ]
|
||||||
|
|
||||||
self.ldflags_shared = ['/DLL', '/nologo']
|
self.ldflags_shared = ['/DLL', '/nologo']
|
||||||
self.ldflags_static = [ '/nologo']
|
self.ldflags_static = [ '/nologo']
|
||||||
|
|
Loading…
Reference in New Issue