aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2012-08-18 02:05:07 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2012-08-18 02:05:07 -0700
commit221497c61bf092cf0d7d3ba45454a7fdea976ee0 (patch)
tree48c6113cf2dc3190979d91388adacddddcb4943e
parent8765d20b1ed835f64abb30c12b6cac14dc58a08c (diff)
parent8e2ebc0106bb7da42bcb53f7c00e8231a8cf09a5 (diff)
downloadbitcoin-221497c61bf092cf0d7d3ba45454a7fdea976ee0.tar.xz
Merge pull request #1673 from Diapolo/Qt_Win_ASLR_DEP_linker_flag
Bitcoin-Qt (Windows only): add ASLR and DEP linker flags
-rw-r--r--bitcoin-qt.pro3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro
index 39afee6382..e15e1c1ae5 100644
--- a/bitcoin-qt.pro
+++ b/bitcoin-qt.pro
@@ -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) {