Skip to content

Commit

Permalink
fix for debugger (gdb on win)
Browse files Browse the repository at this point in the history
  • Loading branch information
corvaxx committed Jul 5, 2017
1 parent e74a1d4 commit d22d1a0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion blocknet-qt.pro
Expand Up @@ -75,8 +75,14 @@ QMAKE_LFLAGS *= -fstack-protector-all --param ssp-buffer-size=1
# We need to exclude this for Windows cross compile with MinGW 4.2.x, as it will result in a non-working executable!
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x.
}

# for extra security on Windows: enable ASLR and DEP via GCC linker flags
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
win32 {
CONFIG(release, debug|release) {
QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
}
}

QMAKE_CXXFLAGS = -fpermissive -std=c++11

# use: qmake "USE_QRCODE=1"
Expand Down

0 comments on commit d22d1a0

Please sign in to comment.