From 1f0ce2dd68313094af7cf6647bdf5936bee8352c Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Thu, 10 Jan 2013 14:21:52 +0100 Subject: 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) --- bitcoin-qt.pro | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bitcoin-qt.pro') diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index 50ca80cb0f..cda840cbc9 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -44,6 +44,8 @@ QMAKE_LFLAGS *= -fstack-protector-all QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now # for extra security on Windows: enable ASLR and DEP via GCC linker flags win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat +# on Windows: enable GCC large address aware linker flag +win32:QMAKE_LFLAGS *= -Wl,--large-address-aware # use: qmake "USE_QRCODE=1" # libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support -- cgit v1.2.3