summaryrefslogtreecommitdiff
path: root/src/third_party/gperftools
diff options
context:
space:
mode:
authorAndrew Morrow <acm@mongodb.com>2021-02-21 13:16:24 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-04-04 12:26:16 +0000
commitca4206b6d9da6f32ae2dca1f2170b97bc09d2272 (patch)
tree8c024b5708d4ebf75ba3c9204c10f7cf06300f98 /src/third_party/gperftools
parent428015e0575ade215bf65100bda40099f87a94a9 (diff)
downloadmongo-ca4206b6d9da6f32ae2dca1f2170b97bc09d2272.tar.gz
SERVER-49322 Add an experiment for building with reduced symbol visibility
Diffstat (limited to 'src/third_party/gperftools')
-rw-r--r--src/third_party/gperftools/SConscript6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/third_party/gperftools/SConscript b/src/third_party/gperftools/SConscript
index 4f12718d26c..74eb94b4d28 100644
--- a/src/third_party/gperftools/SConscript
+++ b/src/third_party/gperftools/SConscript
@@ -5,7 +5,11 @@ Import("has_option")
Import("use_libunwind")
Import("debugBuild")
-env = env.Clone()
+env = env.Clone(
+ # Building with hidden visibility interferes with intercepting the
+ # libc allocation functions.
+ DISALLOW_VISHIDDEN=True,
+)
if use_libunwind:
env.Append(