--large-address-aware isn't supported by mingw-w64 4.6
authorMASM fan <masmfan@gmail.com>
Fri, 7 Nov 2014 21:35:06 +0000 (01:35 +0400)
committerMASM fan <masmfan@gmail.com>
Fri, 7 Nov 2014 21:35:06 +0000 (01:35 +0400)
novacoin-qt.pro

index f6b3f81..c07431a 100644 (file)
@@ -55,7 +55,8 @@ QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
 }
 # for extra security on Windows: enable ASLR and DEP via GCC linker flags
 
-win32:QMAKE_LFLAGS *= -Wl,--large-address-aware -static
+win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
+win32:QMAKE_LFLAGS += -static-libgcc -static-libstdc++
 
 # use: qmake "USE_QRCODE=1"
 # libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support