forked from qt-creator/qt-creator
ProjectExplorer: Parse RISC-V GCC compiler name to detect it word width
Change-Id: I291fc1ef01091391a094e7031b813f5a4afb2f2d Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -528,7 +528,7 @@ Abi Abi::abiFromTargetTriplet(const QString &triple)
|
||||
os = BareMetalOS;
|
||||
flavor = GenericFlavor;
|
||||
format = ElfFormat;
|
||||
width = 32;
|
||||
width = p.contains("64") ? 64 : 32;
|
||||
} else if (p.startsWith("mips")) {
|
||||
arch = MipsArchitecture;
|
||||
width = p.contains("64") ? 64 : 32;
|
||||
|
||||
Reference in New Issue
Block a user