Allow win32 fte to be large address aware (access beyond 2GB address space).

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4135 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2012-10-22 14:26:47 +00:00
parent 60e9a3b3c6
commit 78b59d54c3

View file

@ -791,6 +791,11 @@ ifeq ($(shell echo $(FTE_TARGET)|grep -E -v "win(32|64)$$"),)
BASELDFLAGS= BASELDFLAGS=
# Allow 32bit FTE to access beyond the 2GB address space
ifeq ($(FTE_TARGET),win32)
BASELDFLAGS=-Wl,--large-address-aware
endif
SV_CFLAGS=$(SERVER_ONLY_CFLAGS) $(W32_CFLAGS) SV_CFLAGS=$(SERVER_ONLY_CFLAGS) $(W32_CFLAGS)
LIBS_DIR = $(BASE_DIR)/libs LIBS_DIR = $(BASE_DIR)/libs