]> granicus.if.org Git - python/commitdiff
Added compiler flags suggested by Thomas Heller: optimize, use multi-threaded
authorGreg Ward <gward@python.net>
Mon, 17 Jan 2000 20:40:48 +0000 (20:40 +0000)
committerGreg Ward <gward@python.net>
Mon, 17 Jan 2000 20:40:48 +0000 (20:40 +0000)
RT library.

Lib/distutils/msvccompiler.py

index 48453768d25a929d455992449b772e5f3e05b90b..50fd4622f3715dd8d49358d78ddc5af6aca5d67e 100644 (file)
@@ -37,7 +37,7 @@ class MSVCCompiler (CCompiler) :
         self.cc   = "cl.exe"
         self.link = "link.exe"
         self.preprocess_options = None
-        self.compile_options = [ '/nologo' ]
+        self.compile_options = [ '/nologo', '/Ox', '/MD', '/GD' ]
 
         self.ldflags_shared = ['/DLL', '/nologo']
         self.ldflags_static = [ '/nologo']