forked from qt-creator/qt-creator
Android: Fix compile with Qt5.6 and gcc4.9
Change-Id: Id353723112bb3086e695f483c3ce4ec53ba425d8 Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io> Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -95,16 +95,16 @@ AndroidToolChain::~AndroidToolChain()
|
||||
static QString getArch(const QString &triple)
|
||||
{
|
||||
if (triple.indexOf("x86_64") == 0)
|
||||
return "x86_64";
|
||||
return QString::fromUtf8("x86_64");
|
||||
if (triple.indexOf("i686") == 0)
|
||||
return "x86";
|
||||
return QString::fromUtf8("x86");
|
||||
if (triple.indexOf("mips64") == 0)
|
||||
return "mips64";
|
||||
return QString::fromUtf8("mips64");
|
||||
if (triple.indexOf("mips") == 0)
|
||||
return "mips";
|
||||
return QString::fromUtf8("mips");
|
||||
if (triple.indexOf("aarch64") == 0)
|
||||
return "arm64-v8a";
|
||||
return "armeabi-v7a";
|
||||
return QString::fromUtf8("arm64-v8a");
|
||||
return QString::fromUtf8("armeabi-v7a");
|
||||
}
|
||||
|
||||
// Paths added here are those that were used by qmake. They were taken from
|
||||
|
Reference in New Issue
Block a user