summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-07-31 08:36:46 -0400
committerdwight <dwight@10gen.com>2011-07-31 08:36:46 -0400
commitfb8b8936656d94617e3c3b416c24e4660706610c (patch)
treeccde33e9ef56355a1564978f19e9bdc71e6f9b1e /SConstruct
parent3c55e8ccbaa9acff4cf9594771f67e935b18d9a4 (diff)
downloadmongo-fb8b8936656d94617e3c3b416c24e4660706610c.tar.gz
make journaling the default on 64 bit
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct4
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index c47d3f6d280..2d8a4a973a7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -144,6 +144,7 @@ add_option( "osnew", "use newer operating system API features" , 0 , False )
add_option( "d", "debug build no optimization, etc..." , 0 , True , "debugBuild" )
add_option( "dd", "debug build no optimization, additional debug logging, etc..." , 0 , False , "debugBuildAndLogging" )
add_option( "durableDefaultOn" , "have durable default to on" , 0 , True )
+add_option( "durableDefaultOff" , "have durable default to off" , 0 , True )
add_option( "pch" , "use precompiled headers to speed up the build (experimental)" , 0 , True , "usePCH" )
add_option( "distcc" , "use distcc for distributing builds" , 0 , False )
@@ -234,6 +235,9 @@ if has_option( "safeshell" ):
if has_option( "durableDefaultOn" ):
env.Append( CPPDEFINES=[ "_DURABLEDEFAULTON" ] )
+if has_option( "durableDefaultOff" ):
+ env.Append( CPPDEFINES=[ "_DURABLEDEFAULTOFF" ] )
+
boostCompiler = GetOption( "boostCompiler" )
if boostCompiler is None:
boostCompiler = ""