[Python-checkins] python/dist/src/Lib/distutils msvccompiler.py,1.48,1.49

jhylton@users.sourceforge.net jhylton@users.sourceforge.net
Tue, 18 Jun 2002 12:08:48 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils
In directory usw-pr-cvs1:/tmp/cvs-serv20650

Modified Files:
	msvccompiler.py 
Log Message:
Define NDEBUG for releae builds, just like Python.

XXX Why doesn't distutils on Windows use the same set of flags as Python?


Index: msvccompiler.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/msvccompiler.py,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** msvccompiler.py	13 Jun 2002 17:28:18 -0000	1.48
--- msvccompiler.py	18 Jun 2002 19:08:40 -0000	1.49
***************
*** 234,238 ****
  
          self.preprocess_options = None
!         self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ]
          self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
                                        '/Z7', '/D_DEBUG']
--- 234,239 ----
  
          self.preprocess_options = None
!         self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ,
!                                  '/DNDEBUG']
          self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
                                        '/Z7', '/D_DEBUG']