forked from qt-creator/qt-creator
Abi: Fix switch statment when guessing ABI based on target triple
Some entries were duplicated. Fix fallout in gcc toolchain test caused by this change. Change-Id: I63c7a5fdba93e903888b2daa99a87e0a07c28acd Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -527,7 +527,7 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
||||
if (p == "unknown" || p == "pc" || p == "none"
|
||||
|| p == "gnu" || p == "uclibc"
|
||||
|| p == "86_64" || p == "redhat"
|
||||
|| p == "gnueabi" || p == "w64") {
|
||||
|| p == "w64") {
|
||||
continue;
|
||||
} else if (p == "i386" || p == "i486" || p == "i586"
|
||||
|| p == "i686" || p == "x86") {
|
||||
@@ -591,7 +591,7 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
||||
width = 64;
|
||||
} else if (p == "darwin9") {
|
||||
width = 32;
|
||||
} else if (p == "gnueabi") {
|
||||
} else if (p == "gnueabi" || p == "elf") {
|
||||
format = ElfFormat;
|
||||
} else if (p == "wrs") {
|
||||
continue;
|
||||
|
||||
Reference in New Issue
Block a user