mirror of https://github.com/AxioDL/metaforce.git
gcc compile fix
This commit is contained in:
parent
93a602be9a
commit
880c9f6c95
|
@ -11,7 +11,7 @@ public:
|
||||||
CToolHelp(const SToolPassInfo& info)
|
CToolHelp(const SToolPassInfo& info)
|
||||||
: CToolBase(info)
|
: CToolBase(info)
|
||||||
{
|
{
|
||||||
if (!m_info.args.size())
|
if (m_info.args.empty())
|
||||||
throw std::invalid_argument("help requires a tool name argument");
|
throw std::invalid_argument("help requires a tool name argument");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -2,8 +2,10 @@ TARGET = hecl
|
||||||
CONFIG -= Qt
|
CONFIG -= Qt
|
||||||
QT =
|
QT =
|
||||||
LIBS -= -lQtGui -lQtCore
|
LIBS -= -lQtGui -lQtCore
|
||||||
unix:QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
|
unix:QMAKE_CXXFLAGS += -std=c++11
|
||||||
unix:!macx:LIBS += -std=c++11 -stdlib=libc++ -lc++abi
|
unix:LIBS += -std=c++11
|
||||||
|
clang:QMAKE_CXXFLAGS += -stdlib=libc++
|
||||||
|
clang:LIBS += -stdlib=libc++ -lc++abi
|
||||||
|
|
||||||
INCLUDEPATH += ../include
|
INCLUDEPATH += ../include
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,11 @@ CONFIG += staticlib
|
||||||
TARGET = hecl
|
TARGET = hecl
|
||||||
CONFIG -= Qt
|
CONFIG -= Qt
|
||||||
QT =
|
QT =
|
||||||
unix:QMAKE_CXXFLAGS += -std=c++11 -stdlib=libc++
|
unix:QMAKE_CXXFLAGS += -std=c++11
|
||||||
|
unix:QMAKE_CFLAGS += -std=c99
|
||||||
|
unix:LIBS += -std=c++11
|
||||||
|
clang:QMAKE_CXXFLAGS += -stdlib=libc++
|
||||||
|
clang:LIBS += -stdlib=libc++ -lc++abi
|
||||||
|
|
||||||
INCLUDEPATH += $$PWD ../include ../extern
|
INCLUDEPATH += $$PWD ../include ../extern
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue