summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-03-26 17:15:10 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-03-28 11:42:08 -0400
commita3e51b6721b907b9d5038ce6caea1f52fa329f01 (patch)
treee99ff55f1014d3260f3489dfb0a1d0565af7ac75 /SConstruct
parent6a1cf3e57e79cb001147d63d35af0f3e69d9cd6d (diff)
downloadmongo-a3e51b6721b907b9d5038ce6caea1f52fa329f01.tar.gz
SCons: /DNDEBUG stops boost assertions from aborting the program, which is not our desired behavior.
On Linux, we never define NDEBUG; make Windows behave the same.
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 0 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct
index 85331381d91..71456fa407b 100644
--- a/SConstruct
+++ b/SConstruct
@@ -582,7 +582,6 @@ elif "win32" == os.sys.platform:
if release:
# /MT: Causes your application to use the multithread, static version of the run-time library (LIBCMT.lib)
# /O2: optimize for speed (as opposed to size)
- env.Append( CPPDEFINES=[ "NDEBUG" ] )
env.Append( CPPFLAGS= " /O2 /MT " )
# TODO: this has caused some linking problems :