disable BN asm for amd64 win32 build
This commit is contained in:
21
patches/win32_amd64_bn_arch.h.patch
Normal file
21
patches/win32_amd64_bn_arch.h.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
--- crypto/bn/arch/amd64/bn_arch.h.orig 2023-02-27 04:43:12.257874699 -0600
|
||||
+++ crypto/bn/arch/amd64/bn_arch.h 2023-02-27 04:44:05.541873870 -0600
|
||||
@@ -20,6 +20,10 @@
|
||||
#ifndef HEADER_BN_ARCH_H
|
||||
#define HEADER_BN_ARCH_H
|
||||
|
||||
+#ifdef _WIN32
|
||||
+#define OPENSSL_NO_ASM
|
||||
+#else
|
||||
+
|
||||
#ifndef OPENSSL_NO_ASM
|
||||
|
||||
#define HAVE_BN_ADD
|
||||
@@ -85,6 +89,7 @@
|
||||
*out_r0 = r0;
|
||||
}
|
||||
#endif /* __GNUC__ */
|
||||
+#endif /* _WIN32 */
|
||||
|
||||
#endif
|
||||
#endif
|
Reference in New Issue
Block a user