diff options
| author | Brent Cook <busterb@gmail.com> | 2023-02-27 04:46:43 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2023-02-27 04:46:43 -0600 |
| commit | c305c7ac43b0fa3a47724cbff2ac3303eb163387 (patch) | |
| tree | e1142bdf2c3c2db2608c04ae5de34ffcc38ea04e /patches | |
| parent | 1fbc858e1df6f4681087c0c5ee57f6e7aa7fc8a5 (diff) | |
| download | portable-c305c7ac43b0fa3a47724cbff2ac3303eb163387.tar.gz portable-c305c7ac43b0fa3a47724cbff2ac3303eb163387.tar.bz2 portable-c305c7ac43b0fa3a47724cbff2ac3303eb163387.zip | |
disable BN asm for amd64 win32 build
Diffstat (limited to 'patches')
| -rw-r--r-- | patches/win32_amd64_bn_arch.h.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/patches/win32_amd64_bn_arch.h.patch b/patches/win32_amd64_bn_arch.h.patch new file mode 100644 index 0000000..20205dc --- /dev/null +++ b/patches/win32_amd64_bn_arch.h.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | --- crypto/bn/arch/amd64/bn_arch.h.orig 2023-02-27 04:43:12.257874699 -0600 | ||
| 2 | +++ crypto/bn/arch/amd64/bn_arch.h 2023-02-27 04:44:05.541873870 -0600 | ||
| 3 | @@ -20,6 +20,10 @@ | ||
| 4 | #ifndef HEADER_BN_ARCH_H | ||
| 5 | #define HEADER_BN_ARCH_H | ||
| 6 | |||
| 7 | +#ifdef _WIN32 | ||
| 8 | +#define OPENSSL_NO_ASM | ||
| 9 | +#else | ||
| 10 | + | ||
| 11 | #ifndef OPENSSL_NO_ASM | ||
| 12 | |||
| 13 | #define HAVE_BN_ADD | ||
| 14 | @@ -85,6 +89,7 @@ | ||
| 15 | *out_r0 = r0; | ||
| 16 | } | ||
| 17 | #endif /* __GNUC__ */ | ||
| 18 | +#endif /* _WIN32 */ | ||
| 19 | |||
| 20 | #endif | ||
| 21 | #endif | ||
