scons: Try to use 'tcmalloc' before 'tcmalloc_minimal'
authorAndreas Sandberg <andreas@sandberg.pp.se>
Mon, 18 Mar 2013 10:24:56 +0000 (11:24 +0100)
committerAndreas Sandberg <andreas@sandberg.pp.se>
Mon, 18 Mar 2013 10:24:56 +0000 (11:24 +0100)
commite28e6246fc106569909124ada78603ae1507a972
treeb7f587a3e065cf8fb391341015b8517a6d4adbbc
parent468ad10f502837ed00f9e91ed16b9eb180adff4c
scons: Try to use 'tcmalloc' before 'tcmalloc_minimal'

tcmalloc_minimal doesn't support the heap checker on Debian, while
tcmalloc does. Instead of always linking with tcmalloc_minimal, if it
exists, we first check for tcmalloc and then use tcmalloc_minimal as a
fallback.
SConstruct