]> git.ipfire.org Git - thirdparty/git.git/commitdiff
mingw: do not use nedmalloc on Windows/ARM64
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Wed, 23 Apr 2025 08:01:45 +0000 (08:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2025 16:11:31 +0000 (09:11 -0700)
It does not compile there, and seeing as nedmalloc has been pretty much
unmaintained since at least November 2017, as per
https://github.com/ned14/nedmalloc/issues/20#issuecomment-343432314,
there is also no hope that any fixes will materialize there.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
[jc: adjust config.mak.uname for c18400c6]
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index 1e5d89f1aa4a7308b07a911bdae33d1c8375cf98..3ec82d95e680bb325401dda9a2bab7f9ec4f0d19 100644 (file)
@@ -742,7 +742,9 @@ ifeq ($(uname_S),MINGW)
        HAVE_LIBCHARSET_H = YesPlease
        USE_GETTEXT_SCHEME = fallthrough
        USE_LIBPCRE = YesPlease
-       USE_NED_ALLOCATOR = YesPlease
+        ifneq (CLANGARM64,$(MSYSTEM))
+               USE_NED_ALLOCATOR = YesPlease
+        endif
         ifeq (/mingw64,$(subst 32,64,$(prefix)))
                # Move system config into top-level /etc/
                ETC_GITCONFIG = ../etc/gitconfig