summaryrefslogtreecommitdiff
path: root/coreconf/config.gypi
diff options
context:
space:
mode:
authorglaubitz <glaubitz@physik.fu-berlin.de>2021-04-06 11:10:07 +0000
committerglaubitz <glaubitz@physik.fu-berlin.de>2021-04-06 11:10:07 +0000
commit01d6bbcadc9e1697be4890bb2cf265ea113bad4b (patch)
tree93c8b7302bec958b3b65dd6fe2de4a7966c88052 /coreconf/config.gypi
parentd5d83e44e2dc20a86cc1d81b98ab5326fb8b620e (diff)
downloadnss-hg-01d6bbcadc9e1697be4890bb2cf265ea113bad4b.tar.gz
Bug 1687164 - Introduce NSS_DISABLE_CRYPTO_VSX and disable_crypto_vsx r=bbeurdouche
Currently, NSS assumes that every PowerPC target supports the crypto and VSX extensions of the PowerPC ABI. However, VSX was only introduced with ISA version 2.06 and the crypto extensions with ISA version 2.07 and enabling them on older PowerPC targets will result in a SIGILL. Thus, make their use configurable and enable them by default on ppc64le only. Differential Revision: https://phabricator.services.mozilla.com/D105354
Diffstat (limited to 'coreconf/config.gypi')
-rw-r--r--coreconf/config.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/coreconf/config.gypi b/coreconf/config.gypi
index 4c8931c6d..951e9abd1 100644
--- a/coreconf/config.gypi
+++ b/coreconf/config.gypi
@@ -107,6 +107,7 @@
'disable_libpkix%': 1,
'disable_werror%': 0,
'disable_altivec%': 0,
+ 'disable_crypto_vsx%': 0,
'disable_arm32_neon%': 0,
'mozilla_client%': 0,
'comm_client%': 0,