From 4222570553ec673600f8f103abe383f7cfac9347 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 27 Aug 2021 13:49:27 +0200 Subject: [PATCH] The makefile now links libgcc on ARM64. --- src/win/Makefile.mingw | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/win/Makefile.mingw b/src/win/Makefile.mingw index b6e7fe4b0..b0ca0ad57 100644 --- a/src/win/Makefile.mingw +++ b/src/win/Makefile.mingw @@ -812,8 +812,13 @@ LIBS += $(WX_LIBS) -lm endif LIBS += -lpng -lz -lwsock32 -lshell32 -liphlpapi -lpsapi -lSDL2 -limm32 -lhid -lsetupapi -loleaut32 -luxtheme -lversion -lwinmm -static -lstdc++ ifneq ($(X64), y) +ifneq ($(ARM64), y) LIBS += -Wl,--large-address-aware endif +endif +ifeq ($(ARM64), y) +LIBS += -lgcc +endif ifeq ($(DINPUT), y) LIBS += -ldinput8 endif