forked from qt-creator/qt-creator
BareMetal: Fix compile for gcc5.3
Change-Id: Ic52acd1e83c6055ab86c542fd116d3a1e2bf17f0 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -70,9 +70,9 @@ static QString cppLanguageOption(const FilePath &compiler)
|
||||
{
|
||||
const QString baseName = compiler.toFileInfo().baseName();
|
||||
if (baseName == "iccarm")
|
||||
return "--c++";
|
||||
return QString("--c++");
|
||||
if (baseName == "icc8051" || baseName == "iccavr")
|
||||
return "--ec++";
|
||||
return QString("--ec++");
|
||||
return {};
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user