Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/openssl/lib/libcrypto/arch/arm Fix armv5



details:   https://anonhg.NetBSD.org/src/rev/bf411451c741
branches:  trunk
changeset: 375353:bf411451c741
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 15 14:08:17 2023 +0000

description:
Fix armv5

diffstat:

 crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc |  4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r d658f8a87a8c -r bf411451c741 crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc     Mon May 15 14:04:38 2023 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/arm/crypto.inc     Mon May 15 14:08:17 2023 +0000
@@ -5,5 +5,9 @@ CPUID = yes
 CPPFLAGS += -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
 CPPFLAGS += -DOPENSSL_CPUID_OBJ
 
+.if ${MACHINE_ARCH:Nearmv5*} == ""
+COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS       # no atomic 64 bit ops
+.endif
+
 .include "../../crypto.inc"
 



Home | Main Index | Thread Index | Old Index