1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

fix(build): fix ASLR and DEP protection for windows builds

This commit is contained in:
lopachecoc 2017-01-11 10:44:14 +00:00 committed by GitHub
parent 311edce6fc
commit ce0590d2d0

View File

@ -121,7 +121,7 @@ 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
QMAKE_LFLAGS += -Wl,--dynamicbase -Wl,--nxcompat
RC_FILE = windows/qtox.rc
LIBS += -L$$PWD/libs/lib \