Browse Source

enable C++ 11

pull/5/head
orignal 8 years ago
parent
commit
6f0b8e75f6
  1. 4
      unioncoin-qt.pro

4
unioncoin-qt.pro

@ -5,7 +5,7 @@ VERSION = 0.8.5.6 @@ -5,7 +5,7 @@ VERSION = 0.8.5.6
INCLUDEPATH += src src/json src/qt i2psam
QT += core gui network
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 += thread
SUBDIR = i2psam
@ -45,7 +45,7 @@ contains(RELEASE, 1) { @@ -45,7 +45,7 @@ contains(RELEASE, 1) {
# 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
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
win32:QMAKE_LFLAGS *= -Wl,--dynamicbase -Wl,--nxcompat
# on Windows: enable GCC large address aware linker flag

Loading…
Cancel
Save