diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-01-07 10:41:54 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-01-07 10:41:54 -0500 |
commit | cf68b13124462939a088054c10433b04620bde58 (patch) | |
tree | 21a44ea7454441f27f32ead55b18281092e67a6c /SConstruct | |
parent | 80fecd37e37aea6f55dae25b4a63174061fea598 (diff) | |
download | mongo-cf68b13124462939a088054c10433b04620bde58.tar.gz |
durableDefaultOn option
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 812c9600aaf..43444f2b2c4 100644 --- a/SConstruct +++ b/SConstruct @@ -143,7 +143,7 @@ add_option( "safeshell", "don't let shell scripts run programs (still, don't run # dev tools 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( "pch" , "use precompiled headers to speed up the build (experimental)" , 0 , True , "usePCH" ) add_option( "distcc" , "use distcc for distributing builds" , 0 , False ) @@ -226,6 +226,9 @@ env.Append( CPPPATH=[ "." ] ) if has_option( "safeshell" ): env.Append( CPPDEFINES=[ "MONGO_SAFE_SHELL" ] ) +if has_option( "durableDefaultOn" ): + env.Append( CPPDEFINES=[ "_DURABLEDEFAULTON" ] ) + boostCompiler = GetOption( "boostCompiler" ) if boostCompiler is None: boostCompiler = "" |