From 267065628351063a6738cdba7430ab4701a74325 Mon Sep 17 00:00:00 2001 From: Andrew Morrow Date: Mon, 27 Jan 2014 13:57:14 -0500 Subject: SERVER-12255 Use tcmalloc on 32-bit linux and darwin as well --- SConstruct | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'SConstruct') 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' -- cgit v1.2.1