summaryrefslogtreecommitdiff
path: root/src/third_party/SConscript
diff options
context:
space:
mode:
authorBilly Donahue <billy.donahue@mongodb.com>2020-02-05 22:43:22 -0500
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-02-14 16:58:34 +0000
commitc1e1c591e67a6be9ef1128de5c45229e91d94bd9 (patch)
treeab78eba5d8c1400af5663185f180b6f4cc58ffc7 /src/third_party/SConscript
parent1c69f63fe4597062055041a4f1b4e54d11dea34e (diff)
downloadmongo-c1e1c591e67a6be9ef1128de5c45229e91d94bd9.tar.gz
SERVER-45677 libunwind on by default where possible
- tcmalloc to not use libunwind API, as it uses slow cursor steps. - Remove UNW_LOCAL_ONLY from CXXFLAGS everywhere.
Diffstat (limited to 'src/third_party/SConscript')
-rw-r--r--src/third_party/SConscript2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/third_party/SConscript b/src/third_party/SConscript
index 840c1c96601..20150aea4b5 100644
--- a/src/third_party/SConscript
+++ b/src/third_party/SConscript
@@ -185,12 +185,10 @@ if not use_system_version_of_library('kms-message'):
if use_system_libunwind:
thirdPartyEnvironmentModifications['unwind'] = {
- 'CPPDEFINES' : ['MONGO_USE_LIBUNWIND', 'UNW_LOCAL_ONLY'],
'SYSLIBDEPS' : [env['LIBDEPS_UNWIND_SYSLIBDEP'], 'lzma'],
}
elif use_vendored_libunwind:
thirdPartyEnvironmentModifications['unwind'] = {
- 'CPPDEFINES' : ['MONGO_USE_LIBUNWIND', 'UNW_LOCAL_ONLY'],
'LIBDEPS' : ['$BUILD_DIR/third_party/shim_unwind'],
'SYSLIBDEPS' : ['lzma'],
}