Skip to content

Commit 933f2ed

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 <johannes.schindelin@gmx.de>
1 parent fe28453 commit 933f2ed

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

config.mak.uname

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,11 @@ ifeq ($(uname_S),Windows)
439439
ifeq (MINGW32,$(MSYSTEM))
440440
prefix = /mingw32
441441
else
442-
prefix = /mingw64
442+
ifeq (CLANGARM64,$(MSYSTEM))
443+
prefix = /clangarm64
444+
else
445+
prefix = /mingw64
446+
endif
443447
endif
444448
# Prepend MSVC 64-bit tool-chain to PATH.
445449
#

0 commit comments

Comments
 (0)