Skip to content

Commit

Permalink
config.mak.uname: add support for clangarm64
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dennisameling authored and Git for Windows Build Agent committed Oct 22, 2024
1 parent e7d11ea commit 20085f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config.mak.uname
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 20085f7

Please sign in to comment.