Baremetal: Fix compile for older compiler and Qt

Change-Id: I7756fcb575c5e508933d3bffb2926b90b1e70748
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Christian Stenger
2019-04-16 06:56:43 +02:00
parent 8f8ff686df
commit 16ae5bf8e0

View File

@@ -69,7 +69,7 @@ static QString compilerTargetFlag(const Abi &abi)
{ {
switch (abi.architecture()) { switch (abi.architecture()) {
case Abi::Architecture::Mcs51Architecture: case Abi::Architecture::Mcs51Architecture:
return "-mmcs51"; return QString("-mmcs51");
default: default:
return {}; return {};
} }