From: Auto Vincent <72301871+AutoVincent@users.noreply.github.com> Date: Thu, 30 Jan 2025 18:03:49 +0000 (+0000) Subject: Fix compile error when building VC-WIN64-CLANGASM-ARM target X-Git-Tag: openssl-3.1.8~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c28ce3b215ee602927f10332e0dd26451e4cbf3;p=thirdparty%2Fopenssl.git Fix compile error when building VC-WIN64-CLANGASM-ARM target 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) (cherry picked from commit becc0078f8215ffc062f5ba06c73ba51d3b14b6e) --- diff --git a/Configurations/50-win-clang-cl.conf b/Configurations/50-win-clang-cl.conf index 6ddcc5c21e3..baead2cdbe4 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",