mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
d20cf21b20
The error happens with MSVC v143,C++ Clang Compiler for Windows(16.0.5) Error is "brackets expression not supported on this target" in libcrypto-shlib-bsaes-armv8.obj.asm Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/25293)
37 lines
1.3 KiB
Perl
37 lines
1.3 KiB
Perl
## -*- mode: perl; -*-
|
|
# Windows on Arm clang-cl targets.
|
|
#
|
|
|
|
my %targets = (
|
|
"VC-WIN64-CLANGASM-ARM" => {
|
|
inherit_from => [ "VC-noCE-common" ],
|
|
defines => add("_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE",
|
|
"OPENSSL_SYS_WIN_CORE"),
|
|
bn_ops => "SIXTY_FOUR_BIT RC4_CHAR",
|
|
multilib => "-arm64",
|
|
asm_arch => "aarch64",
|
|
AS => "clang-cl.exe",
|
|
ASFLAGS => "/nologo /Zi",
|
|
asflags => "/c",
|
|
asoutflag => "/Fo",
|
|
perlasm_scheme => "win64",
|
|
uplink_arch => 'armv8',
|
|
},
|
|
"VC-CLANG-WIN64-CLANGASM-ARM" => {
|
|
CC => "clang-cl",
|
|
inherit_from => [ "VC-noCE-common" ],
|
|
defines => add("_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE",
|
|
"OPENSSL_SYS_WIN_CORE"),
|
|
bn_ops => "SIXTY_FOUR_BIT RC4_CHAR",
|
|
multilib => "-arm64",
|
|
asm_arch => "aarch64",
|
|
CFLAGS => add("--target=arm64-pc-windows-msvc"),
|
|
AS => "clang-cl.exe",
|
|
ASFLAGS => "/nologo /Zi --target=arm64-pc-windows-msvc",
|
|
asflags => "/c",
|
|
asoutflag => "/Fo",
|
|
perlasm_scheme => "win64",
|
|
uplink_arch => 'armv8',
|
|
},
|
|
);
|