Skip to content

Commit b8f5bb9

Browse files
dennisamelingmjcheetham
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 7f85f71 commit b8f5bb9

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
@@ -723,6 +723,10 @@ ifeq ($(uname_S),MINGW)
723723
prefix = /mingw64
724724
HOST_CPU = x86_64
725725
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
726+
else ifeq (CLANGARM64,$(MSYSTEM))
727+
prefix = /clangarm64
728+
HOST_CPU = aarch64
729+
BASIC_LDFLAGS += -Wl,--pic-executable,-e,mainCRTStartup
726730
else
727731
COMPAT_CFLAGS += -D_USE_32BIT_TIME_T
728732
BASIC_LDFLAGS += -Wl,--large-address-aware

0 commit comments

Comments
 (0)