diff --git a/config.mak.uname b/config.mak.uname index 544a9dab7b7bb7..c5b7bbb048fafa 100644 --- a/config.mak.uname +++ b/config.mak.uname @@ -425,6 +425,11 @@ ifeq ($(uname_S),Windows) NATIVE_CRLF = YesPlease INTERNAL_QSORT = YesPlease DEFAULT_HELP_FORMAT = html +ifeq (/mingw64,$(subst 32,64,$(prefix))) + # Move system config into top-level /etc/ + ETC_GITCONFIG = ../etc/gitconfig + ETC_GITATTRIBUTES = ../etc/gitattributes +endif CC = compat/vcbuild/scripts/clink.pl AR = compat/vcbuild/scripts/lib.pl @@ -671,6 +676,11 @@ else NO_CURL = USE_NED_ALLOCATOR = YesPlease NO_PYTHON = + ifeq (/mingw64,$(subst 32,64,$(prefix))) + # Move system config into top-level /etc/ + ETC_GITCONFIG = ../etc/gitconfig + ETC_GITATTRIBUTES = ../etc/gitattributes + endif else COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO NO_CURL = YesPlease