summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2010-11-15 14:22:00 -0500
committerdwight <dwight@10gen.com>2010-11-15 14:22:00 -0500
commit0813c481afb6f6d8f9736df84351e237ef31ee5f (patch)
tree887271a5eb2c401b36fd6df0925ca18b6d9cc13d
parent3e55d0d0cc4136dc949cc4325952e93c9ab75306 (diff)
downloadmongo-0813c481afb6f6d8f9736df84351e237ef31ee5f.tar.gz
scons dur
-rw-r--r--SConstruct11
1 files changed, 6 insertions, 5 deletions
diff --git a/SConstruct b/SConstruct
index f09fed0a594..065485b2ec3 100644
--- a/SConstruct
+++ b/SConstruct
@@ -126,12 +126,12 @@ AddOption( "--dd",
action="store",
help="debug build no optimization, additional debug logging, etc..." )
-AddOption( "--recstore",
- dest="recstore",
+AddOption( "--durable",
+ dest="durable",
type="string",
nargs=0,
action="store",
- help="use new recstore" )
+ help="durability build" )
AddOption( "--noshell",
dest="noshell",
@@ -330,8 +330,9 @@ if GetOption( "libpath" ) is not None:
if GetOption( "cpppath" ) is not None:
env["CPPPATH"] = [GetOption( "cpppath" )]
-if GetOption( "recstore" ) != None:
- env.Append( CPPDEFINES=[ "_RECSTORE" ] )
+if GetOption( "durable" ) != None:
+ env.Append( CPPDEFINES=[ "_DURABLE" ] )
+
env.Append( CPPDEFINES=[ "_SCONS" , "MONGO_EXPOSE_MACROS" ] )
env.Append( CPPPATH=[ "." ] )