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 <dennis@dennisameling.com>
  • Loading branch information
dennisameling authored and dscho committed Sep 18, 2024
1 parent 3c8827b commit 9c686c9
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 @@ -723,6 +723,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 9c686c9

Please sign in to comment.