summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorDaniel Moody <dmoody256@gmail.com>2022-03-29 15:23:31 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-03-31 15:14:43 +0000
commitcd3770bc652d6c54368389f54e09dc381f9ea57e (patch)
treee6d7203ef93ec376a6ce59264819ef385dce3b02 /SConstruct
parent89f8362eb1cf683296df7916992d28afbb81914d (diff)
downloadmongo-cd3770bc652d6c54368389f54e09dc381f9ea57e.tar.gz
SERVER-64440 added ppc and s390x libunwind support
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct3
1 files changed, 1 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 534b67216ce..e9815de0358 100644
--- a/SConstruct
+++ b/SConstruct
@@ -1575,9 +1575,8 @@ use_libunwind = get_option("use-libunwind")
use_system_libunwind = use_system_version_of_library("libunwind")
# Assume system libunwind works if it's installed and selected.
-# Vendored libunwind, however, works only on linux-x86_64.
can_use_libunwind = (use_system_libunwind or
- env.TargetOSIs('linux') and (env['TARGET_ARCH'] == 'x86_64' or env['TARGET_ARCH'] == 'aarch64'))
+ env.TargetOSIs('linux') and (env['TARGET_ARCH'] in ('x86_64', 'aarch64', 'ppc64le', 's390x')))
if use_libunwind == "off":
use_libunwind = False