summaryrefslogtreecommitdiffstats
path: root/Configurations/50-win-clang-cl.conf
diff options
context:
space:
mode:
authorZhiqing Xie <quic_zhiqxie@quicinc.com>2024-07-25 04:25:01 +0200
committerTomas Mraz <tomas@openssl.org>2024-08-29 15:38:57 +0200
commitd20cf21b20559b3974a9dcadfe79bb047bfaab16 (patch)
tree525b60d9841a1f6acc1417846e3f552525ac4d66 /Configurations/50-win-clang-cl.conf
parentFix decoder error on SM2 private key (diff)
downloadopenssl-d20cf21b20559b3974a9dcadfe79bb047bfaab16.tar.xz
openssl-d20cf21b20559b3974a9dcadfe79bb047bfaab16.zip
Fix compile err when building VC-CLANG-WIN64-CLANGASM-ARM target
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)
Diffstat (limited to '')
-rw-r--r--Configurations/50-win-clang-cl.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/Configurations/50-win-clang-cl.conf b/Configurations/50-win-clang-cl.conf
index cfc96ef159..6ddcc5c21e 100644
--- a/Configurations/50-win-clang-cl.conf
+++ b/Configurations/50-win-clang-cl.conf
@@ -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",