diff options
author | Andrew Morrow <acm@10gen.com> | 2014-01-27 13:57:14 -0500 |
---|---|---|
committer | Andrew Morrow <acm@mongodb.com> | 2014-04-07 19:09:32 -0400 |
commit | 267065628351063a6738cdba7430ab4701a74325 (patch) | |
tree | b2f915961b859fff438b0fcef07461205c38a135 /SConstruct | |
parent | 77d93e43de30b997145c9a8a91d9a47f86b46b56 (diff) | |
download | mongo-267065628351063a6738cdba7430ab4701a74325.tar.gz |
SERVER-12255 Use tcmalloc on 32-bit linux and darwin as well
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct index c55d1f48c3b..448e45bd15b 100644 --- a/SConstruct +++ b/SConstruct @@ -257,9 +257,7 @@ add_option( "pch" , "use precompiled headers to speed up the build (experimental add_option( "distcc" , "use distcc for distributing builds" , 0 , False ) # debugging/profiling help -if os.sys.platform.startswith("linux") and (os.uname()[-1] == 'x86_64'): - defaultAllocator = 'tcmalloc' -elif (os.sys.platform == "darwin") and (os.uname()[-1] == 'x86_64'): +if os.sys.platform.startswith("linux") or (os.sys.platform == "darwin"): defaultAllocator = 'tcmalloc' else: defaultAllocator = 'system' |