Skip to content

Commit

Permalink
Fix compile err when building VC-CLANG-WIN64-CLANGASM-ARM target
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#25293)
  • Loading branch information
zhiqxie authored and t8m committed Aug 29, 2024
1 parent 25bd0c7 commit d20cf21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Configurations/50-win-clang-cl.conf
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ my %targets = (
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",
ASFLAGS => "/nologo /Zi --target=arm64-pc-windows-msvc",
asflags => "/c",
asoutflag => "/Fo",
perlasm_scheme => "win64",
Expand Down

0 comments on commit d20cf21

Please sign in to comment.