From 5928413b28f94764bf4fddfbd6a131d5bebbc46a Mon Sep 17 00:00:00 2001 From: Zetok Zalbavar Date: Sat, 17 Dec 2016 20:09:20 +0000 Subject: [PATCH] chore(build): enable ASLR and DEP protection for windows builds Fixes #3452. --- qtox.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qtox.pro b/qtox.pro index b9c224eaa..304065b5c 100644 --- a/qtox.pro +++ b/qtox.pro @@ -119,6 +119,9 @@ contains(DEFINES, QTOX_PLATFORM_EXT) { # Rules for Windows, Mac OSX, and Linux win32 { + # windows-specific hardening (ASLR, DEP protection) + QMAKE_LFLAGS += -Wl,dynamicbase -Wl,nxcompat + RC_FILE = windows/qtox.rc LIBS += -L$$PWD/libs/lib \ -ltoxav \