Skip to content

Commit fe28453

Browse files
dennisamelingdscho
authored andcommitted
config.mak.uname: add support for clangarm64
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>
1 parent 386b5a3 commit fe28453

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.mak.uname

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -731,6 +731,10 @@ ifeq ($(uname_S),MINGW)
731731
prefix = /mingw64
732732
HOST_CPU = x86_64
733733
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
734+
else ifeq (CLANGARM64,$(MSYSTEM))
735+
prefix = /clangarm64
736+
HOST_CPU = aarch64
737+
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
734738
else
735739
COMPAT_CFLAGS += -D_USE_32BIT_TIME_T
736740
BASIC_LDFLAGS += -Wl,--large-address-aware

0 commit comments

Comments
 (0)