diff options
author | Daniel Moody <dmoody256@gmail.com> | 2022-03-29 15:23:31 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-03-31 15:14:43 +0000 |
commit | cd3770bc652d6c54368389f54e09dc381f9ea57e (patch) | |
tree | e6d7203ef93ec376a6ce59264819ef385dce3b02 /SConstruct | |
parent | 89f8362eb1cf683296df7916992d28afbb81914d (diff) | |
download | mongo-cd3770bc652d6c54368389f54e09dc381f9ea57e.tar.gz |
SERVER-64440 added ppc and s390x libunwind support
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 3 |
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 |