mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Define NDEBUG for releae builds, just like Python.
XXX Why doesn't distutils on Windows use the same set of flags as Python?
This commit is contained in:
parent
69d1fd2fdb
commit
2683ac755d
1 changed files with 2 additions and 1 deletions
|
@ -233,7 +233,8 @@ class MSVCCompiler (CCompiler) :
|
|||
self.mc = "mc.exe"
|
||||
|
||||
self.preprocess_options = None
|
||||
self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ]
|
||||
self.compile_options = [ '/nologo', '/Ox', '/MD', '/W3', '/GX' ,
|
||||
'/DNDEBUG']
|
||||
self.compile_options_debug = ['/nologo', '/Od', '/MDd', '/W3', '/GX',
|
||||
'/Z7', '/D_DEBUG']
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue