From becc0078f8215ffc062f5ba06c73ba51d3b14b6e Mon Sep 17 00:00:00 2001 From: Auto Vincent <72301871+AutoVincent@users.noreply.github.com> Date: Thu, 30 Jan 2025 18:03:49 +0000 Subject: [PATCH] Fix compile error when building VC-WIN64-CLANGASM-ARM target MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit With MSVC v143, C++ Clang Compiler for Windows (18.1.8) there are many errors similar to: crypto\aes\libcrypto-lib-aesv8-armx.obj.asm:3795:7: error: unknown token in expression ld1 {v2.16b},[x0],#16 CLA: trivial Reviewed-by: Saša Nedvědický Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/26603) --- Configurations/50-win-clang-cl.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Configurations/50-win-clang-cl.conf b/Configurations/50-win-clang-cl.conf index 6ddcc5c21e..baead2cdbe 100644 --- a/Configurations/50-win-clang-cl.conf +++ b/Configurations/50-win-clang-cl.conf @@ -11,7 +11,7 @@ my %targets = ( multilib => "-arm64", asm_arch => "aarch64", AS => "clang-cl.exe", - ASFLAGS => "/nologo /Zi", + ASFLAGS => "/nologo /Zi --target=arm64-pc-windows-msvc", asflags => "/c", asoutflag => "/Fo", perlasm_scheme => "win64",