Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flag

Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
This commit is contained in:
Wladimir J. van der Laan 2012-08-18 02:05:07 -07:00
commit 221497c61b

View File

@ -30,6 +30,9 @@ contains(RELEASE, 1) {
}
}
# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
# use: qmake "USE_QRCODE=1"
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support
contains(USE_QRCODE, 1) {