From 78b59d54c37e1e82bd94413ce12f2bcc880fad97 Mon Sep 17 00:00:00 2001 From: Lance Date: Mon, 22 Oct 2012 14:26:47 +0000 Subject: [PATCH] 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 --- engine/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/Makefile b/engine/Makefile index 8240c96aa..2f9ca78c0 100644 --- a/engine/Makefile +++ b/engine/Makefile @@ -791,6 +791,11 @@ ifeq ($(shell echo $(FTE_TARGET)|grep -E -v "win(32|64)$$"),) 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) LIBS_DIR = $(BASE_DIR)/libs