summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Schwerin <schwerin@10gen.com>2012-08-10 17:50:35 -0400
committerAndy Schwerin <schwerin@10gen.com>2012-08-10 17:50:35 -0400
commit4c59df9c812fe88f663d102e570c9e5fcf994062 (patch)
tree78ff8d71f309ef5f0c67e8101cb9804f8a30e883
parent9a3b9ff7e0549dedbb1889b4ef25613fb6351681 (diff)
downloadmongo-4c59df9c812fe88f663d102e570c9e5fcf994062.tar.gz
SERVER-4683 Fix build break on older SCons, redux.
-rw-r--r--src/third_party/gperftools-2.0/SConscript4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/gperftools-2.0/SConscript b/src/third_party/gperftools-2.0/SConscript
index a1d1b07f7e7..8801e607fd6 100644
--- a/src/third_party/gperftools-2.0/SConscript
+++ b/src/third_party/gperftools-2.0/SConscript
@@ -37,9 +37,9 @@ def __checkMallocHookVolatile(check_context):
check_context.Message("Checking if __malloc_hook is declared volatile... ")
is_malloc_hook_volatile = check_context.TryCompile(__malloc_hook_fragment, '.cc')
check_context.Result(is_malloc_hook_volatile)
- malloc_hook_define = 'MALLOC_HOOK_MAYBE_VOLATILE'
+ malloc_hook_define = 'MALLOC_HOOK_MAYBE_VOLATILE='
if is_malloc_hook_volatile:
- malloc_hook_define += '=volatile'
+ malloc_hook_define += 'volatile'
check_context.env.Append(CPPDEFINES=[malloc_hook_define])