Skip to content

Commit 5066563

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 <[email protected]>
1 parent 9b63e04 commit 5066563

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
@@ -699,6 +699,10 @@ ifeq ($(uname_S),MINGW)
699699
prefix = /mingw64
700700
HOST_CPU = x86_64
701701
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
702+
else ifeq (CLANGARM64,$(MSYSTEM))
703+
prefix = /clangarm64
704+
HOST_CPU = aarch64
705+
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
702706
else
703707
COMPAT_CFLAGS += -D_USE_32BIT_TIME_T
704708
BASIC_LDFLAGS += -Wl,--large-address-aware

0 commit comments

Comments
 (0)