summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-08-23 11:12:59 -0400
committerEliot Horowitz <eliot@10gen.com>2011-08-23 11:13:20 -0400
commit452256db6c681cc92d881bd99fe4cb2ade71d5c0 (patch)
treedf4f1875ede06aa203938341eb9ba67575c0f10c /third_party
parent278f5cee2c98f9f0edac641111a6794e9c828f96 (diff)
downloadmongo-452256db6c681cc92d881bd99fe4cb2ade71d5c0.tar.gz
NDEBUG might be causing issues
Diffstat (limited to 'third_party')
-rw-r--r--third_party/sm.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/sm.py b/third_party/sm.py
index f37056bc2f8..2b21fb60191 100644
--- a/third_party/sm.py
+++ b/third_party/sm.py
@@ -59,7 +59,9 @@ def configure( env , fileLists , options ):
if options["windows"]:
myenv["CPPFLAGS"] = myenv["CPPFLAGS"].replace( "/TP" , "" )
-
+
+ if "NDEBUG" in myenv["CPPDEFINES"]:
+ myenv["CPPDEFINES"].remove( "NDEBUG" )
if os.sys.platform.startswith( "linux" ) or os.sys.platform == "darwin":
myenv["CPPDEFINES"] += [ "HAVE_VA_COPY" , "VA_COPY=va_copy" ]