From: Johannes Schindelin Date: Wed, 23 Apr 2025 08:01:46 +0000 (+0000) Subject: msvc: do handle builds on Windows/ARM64 X-Git-Tag: v2.50.0-rc0~65^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8945fba590f43a36af221b668de687e96026552a;p=thirdparty%2Fgit.git msvc: do handle builds on Windows/ARM64 Git for Windows/ARM64 settled on using `clang` to compile `git.exe`, and hence needs to run in a system where `MSYSTEM` is set to `CLANGARM64` and the prefix to use is `/clangarm64`. We already did that in the `MINGW` arm, i.e. for regular Git for Windows builds using MINGW GCC (or `clang`'s shim pretending to be GCC), now it is time to do the same in the MS Visual C part. Signed-off-by: Johannes Schindelin [jc: adjust config.mak.uname for c18400c6] Signed-off-by: Junio C Hamano --- diff --git a/config.mak.uname b/config.mak.uname index 3ec82d95e6..4ef453ebcd 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -432,7 +432,11 @@ ifeq ($(uname_S),Windows) ifeq (MINGW32,$(MSYSTEM)) prefix = /mingw32 else - prefix = /mingw64 + ifeq (CLANGARM64,$(MSYSTEM)) + prefix = /clangarm64 + else + prefix = /mingw64 + endif endif # Prepend MSVC 64-bit tool-chain to PATH. #