diff options
author | Eliot Horowitz <eliot@10gen.com> | 2011-10-27 14:15:17 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2011-10-27 14:15:54 -0400 |
commit | 267bb38b549275200ecb1b17e5c3f351b0896e83 (patch) | |
tree | 417fe0d6faa67a06c07b3d90399cec50fe13096d | |
parent | 0c382de5881ff04a88c3744ef8bb77cf20d94af2 (diff) | |
download | mongo-267bb38b549275200ecb1b17e5c3f351b0896e83.tar.gz |
option for turning off glibc check
-rw-r--r-- | SConstruct | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/SConstruct b/SConstruct index 4e46052a6d8..7b4ec2a3ad5 100644 --- a/SConstruct +++ b/SConstruct @@ -135,6 +135,8 @@ add_option( "staticlibpath", "comma separated list of dirs to search for staticl add_option( "boost-compiler", "compiler used for boost (gcc41)" , 1 , True , "boostCompiler" ) add_option( "boost-version", "boost version for linking(1_38)" , 1 , True , "boostVersion" ) +add_option( "no-glibc-check" , "don't check for new versions of glibc" , 0 , False ) + # experimental features add_option( "mm", "use main memory instead of memory mapped files" , 0 , True ) add_option( "asio" , "Use Asynchronous IO (NOT READY YET)" , 0 , True ) @@ -1431,7 +1433,7 @@ def installBinary( e , name ): if (solaris or linux) and (not has_option("nostrip")): e.AddPostAction( inst, e.Action( 'strip ' + fullInstallName ) ) - if linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist": + if not has_option( "no-glibc-check" ) and linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist": e.AddPostAction( inst , checkGlibc ) if nix: |