Skip to content

Commit

Permalink
openssl.sh: re-enable SIXTY_FOUR_BIT for Windows ARM64, following M…
Browse files Browse the repository at this point in the history
…SYS2 [ci skip]

We deleted it earlier when adapting a working configuration as-is.
Re-add it now because MSVC ARM64 builds have it in the official
OpenSSL config, and the MSYS2 projects enabled for mingw-w64 based
on that.
  • Loading branch information
vszakats committed Oct 12, 2023
1 parent cc825a8 commit 06edf3f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion openssl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,16 @@ _VER="$1"
[ "${_CPU}" = 'x86' ] && options="${options} mingw"
[ "${_CPU}" = 'x64' ] && options="${options} mingw64"
if [ "${_CPU}" = 'a64' ]; then
# Source: https://github.com/openssl/openssl/issues/10533
# Sources:
# - https://github.com/openssl/openssl/issues/10533
# - https://github.com/msys2/MINGW-packages/blob/62d5a14c6847bc6c61d7a030c791affc5316842b/mingw-w64-openssl/001-support-aarch64.patch via
# https://github.com/msys2/MINGW-packages/commit/f146b20066ff1a357d82866dc0fc2f4b1f4c1648 via
# https://github.com/openssl/openssl/commit/b863e1e4c69068e4166bdfbbf9f04bb07991dd40
echo '## -*- mode: perl; -*-
my %targets = (
"mingw-arm64" => {
inherit_from => [ "mingw-common" ],
bn_ops => add("SIXTY_FOUR_BIT"),
asm_arch => "aarch64",
perlasm_scheme => "win64",
multilib => "64",
Expand Down

0 comments on commit 06edf3f

Please sign in to comment.