forked from qt-creator/qt-creator
BareMetal: Fix auto-detection of C++ IAR toolchain for STM8 architecture
Change-Id: Id466b663990a7d43acc4b6d6ca30163358f2ad44 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -71,7 +71,7 @@ static QString cppLanguageOption(const FilePath &compiler)
|
||||
const QString baseName = compiler.toFileInfo().baseName();
|
||||
if (baseName == "iccarm")
|
||||
return QString("--c++");
|
||||
if (baseName == "icc8051" || baseName == "iccavr")
|
||||
if (baseName == "icc8051" || baseName == "iccavr" || baseName == "iccstm8")
|
||||
return QString("--ec++");
|
||||
return {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user