diff options
author | Eliot Horowitz <erh@erh-hp1.(none)> | 2009-06-11 12:32:03 -0400 |
---|---|---|
committer | Eliot Horowitz <erh@erh-hp1.(none)> | 2009-06-11 12:32:03 -0400 |
commit | d5088e4c9c05324d5115be2cb68de8a5e5c0aa14 (patch) | |
tree | 9da8c9867d165851e141b71e90a83ed38d668c2a | |
parent | 62d7cb596135c14e5c4a4d2295928810c2c0c508 (diff) | |
download | mongo-d5088e4c9c05324d5115be2cb68de8a5e5c0aa14.tar.gz |
don't allow force64 on 64-bit machine
-rw-r--r-- | SConstruct | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index 8a4c93a9142..ad5f62636df 100644 --- a/SConstruct +++ b/SConstruct @@ -305,6 +305,10 @@ elif "linux2" == os.sys.platform: nixLibPrefix = "lib64" env.Append( LIBPATH=["/usr/lib64" , "/lib64" ] ) env.Append( LIBS=["pthread"] ) + + if force64: + print( "error: force64 doesn't make sense on a 64-bit machine" ) + Exit(1) if force32: env.Append( LIBPATH=["/usr/lib32"] ) |