Add large address aware flag

This allows the final exe to use more than 2gb of RAM in a 64-bit system
which should get rid of most out of memory errors on 32-bit builds
This commit is contained in:
himie 2020-07-14 14:38:20 -05:00
parent 235c6cbf49
commit 1f5e9fd802
1 changed files with 4 additions and 0 deletions

View File

@ -164,3 +164,7 @@ else
endif
LIBS+=-ldiscord-rpc
endif
ifndef MINGW64
LDFLAGS+=-Wl,--large-address-aware
endif