diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-08-23 11:12:59 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-08-23 11:13:20 -0400 |
commit | 452256db6c681cc92d881bd99fe4cb2ade71d5c0 (patch) | |
tree | df4f1875ede06aa203938341eb9ba67575c0f10c /third_party | |
parent | 278f5cee2c98f9f0edac641111a6794e9c828f96 (diff) | |
download | mongo-452256db6c681cc92d881bd99fe4cb2ade71d5c0.tar.gz |
NDEBUG might be causing issues
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/sm.py | 4 |
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" ] |