|
|
|
@ -44,6 +44,8 @@ QMAKE_LFLAGS *= -fstack-protector-all
@@ -44,6 +44,8 @@ QMAKE_LFLAGS *= -fstack-protector-all
|
|
|
|
|
QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wl,-z,now |
|
|
|
|
# for extra security on Windows: enable ASLR and DEP via GCC linker flags |
|
|
|
|
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat |
|
|
|
|
# on Windows: enable GCC large address aware linker flag |
|
|
|
|
win32:QMAKE_LFLAGS *= -Wl,--large-address-aware |
|
|
|
|
|
|
|
|
|
# use: qmake "USE_QRCODE=1" |
|
|
|
|
# libqrencode (http://fukuchi.org/works/qrencode/index.en.html) must be installed for support |
|
|
|
|