Skip to content

Commit 68de15d

Browse files
committed
mingw(arm64): do move the /etc/git* location
In fb5e337 (mingw: move Git for Windows' system config where users expect it, 2021-06-22), I moved the location of Git for Windows' system config and system Git attributes file to the top-level `/etc/` directory (because it is a much more obvious location than, say, `/mingw64/etc/`). The patch relied on a very specific scenario that the newly-supported Windows/ARM64 builds of `git.exe` fails to fall into. So let's broaden the condition a bit, so that Windows/ARM64 builds also use that location (instead of the even more obscure `/clangarm64/etc/` directory). This fixes #5431. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent b13b864 commit 68de15d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

config.mak.uname

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ ifeq ($(uname_S),Windows)
496496
NO_POSIX_GOODIES = UnfortunatelyYes
497497
NATIVE_CRLF = YesPlease
498498
DEFAULT_HELP_FORMAT = html
499-
ifeq (/mingw64,$(subst 32,64,$(prefix)))
499+
ifeq (/mingw64,$(subst 32,64,$(subst clangarm,mingw,$(prefix))))
500500
# Move system config into top-level /etc/
501501
ETC_GITCONFIG = ../etc/gitconfig
502502
ETC_GITATTRIBUTES = ../etc/gitattributes
@@ -755,7 +755,7 @@ ifeq ($(uname_S),MINGW)
755755
USE_LIBPCRE = YesPlease
756756
USE_MIMALLOC = YesPlease
757757
NO_PYTHON =
758-
ifeq (/mingw64,$(subst 32,64,$(prefix)))
758+
ifeq (/mingw64,$(subst 32,64,$(subst clangarm,mingw,$(prefix))))
759759
# Move system config into top-level /etc/
760760
ETC_GITCONFIG = ../etc/gitconfig
761761
ETC_GITATTRIBUTES = ../etc/gitattributes

0 commit comments

Comments
 (0)