Skip to content

Commit c89ead8

Browse files
committed
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 <[email protected]>
1 parent 6c2e17e commit c89ead8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config.mak.uname

+5-1
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,11 @@ ifeq ($(uname_S),Windows)
432432
ifeq (MINGW32,$(MSYSTEM))
433433
prefix = /mingw32
434434
else
435-
prefix = /mingw64
435+
ifeq (CLANGARM64,$(MSYSTEM))
436+
prefix = /clangarm64
437+
else
438+
prefix = /mingw64
439+
endif
436440
endif
437441
# Prepend MSVC 64-bit tool-chain to PATH.
438442
#

0 commit comments

Comments
 (0)