diff options
-rw-r--r-- | src/plugins/projectexplorer/abi.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/abi.cpp b/src/plugins/projectexplorer/abi.cpp index e4e4c13e64..abce4d4617 100644 --- a/src/plugins/projectexplorer/abi.cpp +++ b/src/plugins/projectexplorer/abi.cpp @@ -458,7 +458,7 @@ Abi Abi::abiFromTargetTriplet(const QString &triple) int unknownCount = 0; for (const QStringRef &p : parts) { - if (p == "unknown" || p == "pc" || p == "none" + if (p == "unknown" || p == "pc" || p == "gnu" || p == "uclibc" || p == "86_64" || p == "redhat" || p == "w64") { @@ -543,6 +543,10 @@ Abi Abi::abiFromTargetTriplet(const QString &triple) os = QnxOS; flavor = GenericFlavor; format = ElfFormat; + } else if (p == "none") { + os = BareMetalOS; + flavor = GenericFlavor; + format = ElfFormat; } else { ++unknownCount; } |