|
|
@ -5,7 +5,7 @@ VERSION = 0.8.5.6 |
|
|
|
INCLUDEPATH += src src/json src/qt i2psam |
|
|
|
INCLUDEPATH += src src/json src/qt i2psam |
|
|
|
QT += core gui network |
|
|
|
QT += core gui network |
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets |
|
|
|
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE |
|
|
|
DEFINES += QT_GUI BOOST_THREAD_USE_LIB BOOST_SPIRIT_THREADSAFE BOOST_NO_CXX11_SCOPED_ENUMS |
|
|
|
CONFIG += no_include_pwd |
|
|
|
CONFIG += no_include_pwd |
|
|
|
CONFIG += thread |
|
|
|
CONFIG += thread |
|
|
|
SUBDIR = i2psam |
|
|
|
SUBDIR = i2psam |
|
|
@ -45,7 +45,7 @@ contains(RELEASE, 1) { |
|
|
|
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x. |
|
|
|
# This can be enabled for Windows, when we switch to MinGW >= 4.4.x. |
|
|
|
} |
|
|
|
} |
|
|
|
# for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific |
|
|
|
# for extra security (see: https://wiki.debian.org/Hardening): this flag is GCC compiler-specific |
|
|
|
QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 |
|
|
|
QMAKE_CXXFLAGS *= -D_FORTIFY_SOURCE=2 -std=c++11 |
|
|
|
# for extra security on Windows: enable ASLR and DEP via GCC linker flags |
|
|
|
# for extra security on Windows: enable ASLR and DEP via GCC linker flags |
|
|
|
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat |
|
|
|
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat |
|
|
|
# on Windows: enable GCC large address aware linker flag |
|
|
|
# on Windows: enable GCC large address aware linker flag |
|
|
|