]> git.ipfire.org Git - thirdparty/git.git/commitdiff
config.mak.uname: add support for clangarm64
authorDennis Ameling <dennis@dennisameling.com>
Wed, 23 Apr 2025 08:01:44 +0000 (08:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Apr 2025 15:53:04 +0000 (08:53 -0700)
CLANGARM64 is a relatively new MSYSTEM added by the MSYS2 team. In order
to have Git build correctly for this platform, let's add some
configuration for it to config.mak.uname.

Signed-off-by: Dennis Ameling <dennis@dennisameling.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.mak.uname

index b12d4e168ae11905391be45a41420a973ee610a9..1e5d89f1aa4a7308b07a911bdae33d1c8375cf98 100644 (file)
@@ -724,6 +724,10 @@ ifeq ($(uname_S),MINGW)
                prefix = /mingw64
                HOST_CPU = x86_64
                BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
+        else ifeq (CLANGARM64,$(MSYSTEM))
+               prefix = /clangarm64
+               HOST_CPU = aarch64
+               BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
         else
                COMPAT_CFLAGS += -D_USE_32BIT_TIME_T
                BASIC_LDFLAGS += -Wl,--large-address-aware