aboutsummaryrefslogtreecommitdiff
path: root/src/makefile.linux-mingw
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2013-01-10 14:21:52 +0100
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2013-01-17 22:01:42 +0100
commit1f0ce2dd68313094af7cf6647bdf5936bee8352c (patch)
tree1e2f31974b3d92ad070fbafb731bf6488c75ead4 /src/makefile.linux-mingw
parent91f70a75daa7ffb89bbec23ca54e5f2c3fa1a83e (diff)
enable GCC large address aware linker flag (Windows only)
- this flag allows bitcoin-qt.exe / bitcoind.exe (32-bit application) to handle addresses larger than 2GB (up to 3GB on x86 Windows and up to 4GB on x64 Windows)
Diffstat (limited to 'src/makefile.linux-mingw')
-rw-r--r--src/makefile.linux-mingw3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/makefile.linux-mingw b/src/makefile.linux-mingw
index ff565f2a2d..efbce1f047 100644
--- a/src/makefile.linux-mingw
+++ b/src/makefile.linux-mingw
@@ -33,7 +33,8 @@ LIBS= \
DEFS=-D_MT -DWIN32 -D_WINDOWS -DBOOST_THREAD_USE_LIB -DBOOST_SPIRIT_THREADSAFE
DEBUGFLAGS=-g
CFLAGS=-O2 -w -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter $(DEBUGFLAGS) $(DEFS) $(INCLUDEPATHS)
-LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat
+# enable: ASLR, DEP and large address aware
+LDFLAGS=-Wl,--dynamicbase -Wl,--nxcompat -Wl,--large-address-aware
TESTDEFS = -DTEST_DATA_DIR=$(abspath test/data)