Module Name: src
Committed By: christos
Date: Thu May 18 00:27:08 UTC 2023
Added Files:
src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32: crypto.inc
ec.inc
Log Message:
fix riscv32
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc \
src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc
diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc:1.1
--- /dev/null Wed May 17 20:27:08 2023
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/crypto.inc Wed May 17 20:27:08 2023
@@ -0,0 +1,4 @@
+
+COPTS.threads_pthread.c += -DBROKEN_CLANG_ATOMICS # no atomic 64 bit ops
+
+.include "../../crypto.inc"
Index: src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc
diff -u /dev/null src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc:1.1
--- /dev/null Wed May 17 20:27:08 2023
+++ src/crypto/external/bsd/openssl/lib/libcrypto/arch/riscv32/ec.inc Wed May 17 20:27:08 2023
@@ -0,0 +1,3 @@
+ECCPPFLAGS+= -DOPENSSL_NO_EC_NISTP_64_GCC_128
+
+.include "../../ec.inc"