]> git.pld-linux.org Git - packages/nss.git/blame - non-x86-64b-archs.patch
up to 3.90
[packages/nss.git] / non-x86-64b-archs.patch
CommitLineData
dc9064a4
JP
1
2# HG changeset patch
3# User Natalia Kulatova <nkulatova@mozilla.com>
4# Date 1685981398 0
5# Node ID 52a5d8fe37410d940e7d3ca244146ebc46a7d52a
6# Parent 52969cff7db635e0ee10fad66eed2c0cfdcf999b
7Bug 1836781 - Disabling ASM C25519 for A but X86_64 r=bbeurdouche,nss-reviewers
8
9Differential Revision: https://phabricator.services.mozilla.com/D179969
10
11diff --git a/lib/freebl/Makefile b/lib/freebl/Makefile
12--- a/lib/freebl/Makefile
13+++ b/lib/freebl/Makefile
14@@ -563,17 +563,19 @@ endif # target == SunO
15 ifdef USE_64
16 # no __int128 at least up to lcc 1.23 (pretending to be gcc5)
17 # NB: CC_NAME is not defined here
18 ifneq ($(shell $(CC) -? 2>&1 >/dev/null </dev/null | sed -e 's/:.*//;1q'),lcc)
19 ifdef CC_IS_CLANG
20 HAVE_INT128_SUPPORT = 1
21 DEFINES += -DHAVE_INT128_SUPPORT
22 else ifeq (1,$(CC_IS_GCC))
23- SUPPORTS_VALE_CURVE25519 = 1
24+ ifeq ($(CPU_ARCH),x86_64)
25+ SUPPORTS_VALE_CURVE25519 = 1
26+ endif
27 ifneq (,$(filter 4.6 4.7 4.8 4.9,$(word 1,$(GCC_VERSION)).$(word 2,$(GCC_VERSION))))
28 HAVE_INT128_SUPPORT = 1
29 DEFINES += -DHAVE_INT128_SUPPORT
30 endif
31 ifneq (,$(filter 0 1 2 3 4,$(word 1,$(GCC_VERSION))))
32 NSS_DISABLE_AVX2 = 1
33 endif
34 ifeq (,$(filter 0 1 2 3 4,$(word 1,$(GCC_VERSION))))
35
This page took 0.088267 seconds and 4 git commands to generate.