aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2012-08-18 02:05:07 -0700
committerWladimir J. van der Laan <[email protected]>2012-08-18 02:05:07 -0700
commit221497c61bf092cf0d7d3ba45454a7fdea976ee0 (patch)
tree48c6113cf2dc3190979d91388adacddddcb4943e
parentMerge pull request #1680 from Diapolo/add_message_on_blockimport (diff)
parentBitcoin-Qt (Windows only): add ASLR and DEP linker flags (diff)
downloaddiscoin-221497c61bf092cf0d7d3ba45454a7fdea976ee0.tar.xz
discoin-221497c61bf092cf0d7d3ba45454a7fdea976ee0.zip
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 39afee638..e15e1c1ae 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) {