diff options
author | Billy Donahue <billy.donahue@mongodb.com> | 2020-01-24 22:20:23 -0500 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2020-02-05 21:00:41 +0000 |
commit | 969151e9ab69dcb53397cf40f810e718421db081 (patch) | |
tree | eb7d4cd83e4c70df67d87847b6e269f05bd75929 /src/mongo/SConscript | |
parent | 2985a71befe421902b5d15e9567e3b449e65ecdd (diff) | |
download | mongo-969151e9ab69dcb53397cf40f810e718421db081.tar.gz |
SERVER-45677 libunwind on by default where possible
- SCons configure to probe for libunwind support
- gracefully handle SIGUSR2 without libunwind
- integrate libunwind on-by-default (linux-x86_64) into evergreen
Diffstat (limited to 'src/mongo/SConscript')
-rw-r--r-- | src/mongo/SConscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/SConscript b/src/mongo/SConscript index 9774ef7e7bd..db471f1d1a9 100644 --- a/src/mongo/SConscript +++ b/src/mongo/SConscript @@ -56,7 +56,7 @@ env.SConscript( # it, and do not declare other libraries in this file. baseEnv = env.Clone() -if use_libunwind: +if use_libunwind == True: baseEnv.InjectThirdParty('unwind') stacktrace_impl_cpp = [ File('util/stacktrace_${TARGET_OS_FAMILY}.cpp') ] @@ -307,6 +307,7 @@ config_header_substs = ( ('@mongo_config_ssl_provider@', 'MONGO_CONFIG_SSL_PROVIDER'), ('@mongo_config_usdt_enabled@', 'MONGO_CONFIG_USDT_ENABLED'), ('@mongo_config_usdt_provider@', 'MONGO_CONFIG_USDT_PROVIDER'), + ('@mongo_config_use_libunwind@', 'MONGO_CONFIG_USE_LIBUNWIND'), ('@mongo_config_wiredtiger_enabled@', 'MONGO_CONFIG_WIREDTIGER_ENABLED'), ) |