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:
Tobias Hunger
2018-03-26 15:13:32 +02:00
parent f7a0a3cd26
commit 4ba5e402dc
2 changed files with 4 additions and 4 deletions

View File

@@ -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;