mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
security/nss: unbreak on aarch64 after r459458
PR: 225326 Submitted by: mikael.urankar@gmail.com Obtained from: upstream (NSS 3.36) MFH: 2018Q1
This commit is contained in:
parent
d567a4f003
commit
c89fd0e480
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=460255
1 changed files with 27 additions and 0 deletions
27
security/nss/files/patch-bug1432455
Normal file
27
security/nss/files/patch-bug1432455
Normal file
|
@ -0,0 +1,27 @@
|
|||
commit 1668fafc1db4
|
||||
Author: Daiki Ueno <dueno@redhat.com>
|
||||
Date: Tue Jan 23 13:29:34 2018 +0100
|
||||
|
||||
Bug 1432455, Build Hacl_Poly1305_64.o on AArch64 even with make, r=fkiefer
|
||||
---
|
||||
lib/freebl/Makefile | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git lib/freebl/Makefile lib/freebl/Makefile
|
||||
index 0b3daa2756..6c8e6a2ead 100644
|
||||
--- lib/freebl/Makefile
|
||||
+++ lib/freebl/Makefile
|
||||
@@ -527,7 +527,12 @@ ifndef NSS_DISABLE_CHACHAPOLY
|
||||
EXTRA_SRCS += chacha20_vec.c
|
||||
endif
|
||||
else
|
||||
- EXTRA_SRCS += poly1305.c
|
||||
+ ifeq ($(CPU_ARCH),aarch64)
|
||||
+ EXTRA_SRCS += Hacl_Poly1305_64.c
|
||||
+ else
|
||||
+ EXTRA_SRCS += poly1305.c
|
||||
+ endif
|
||||
+
|
||||
EXTRA_SRCS += chacha20.c
|
||||
VERIFIED_SRCS += Hacl_Chacha20.c
|
||||
endif # x86_64
|
Loading…
Add table
Reference in a new issue