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/sparc 32bit s...



details:   https://anonhg.NetBSD.org/src/rev/a828609c3c04
branches:  trunk
changeset: 375360:a828609c3c04
user:      martin <martin%NetBSD.org@localhost>
date:      Mon May 15 17:06:05 2023 +0000

description:
32bit sparc needs the atomic hack too

diffstat:

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

diffs (12 lines):

diff -r 75f84b5f36be -r a828609c3c04 crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc
--- a/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc   Mon May 15 16:12:39 2023 +0000
+++ b/crypto/external/bsd/openssl/lib/libcrypto/arch/sparc/crypto.inc   Mon May 15 17:06:05 2023 +0000
@@ -12,4 +12,8 @@ AFLAGS.sparcv9a-mont.S+= -Wa,-Av9a
 AFLAGS.sparct4-mont.S+= -Wa,-Av9a
 AFLAGS.vis3-mont.S+= -Wa,-Av9a
 
+.if ${MACHINE} == "sparc"
+COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS       # no atomic 64 bit ops
+.endif
+
 .include "../../crypto.inc"



Home | Main Index | Thread Index | Old Index