llvm: Lower ohoseabi to ohos instead of verbatim.

LLVM doesn't recognize ohoseabi.
This commit is contained in:
Alex Rønne Petersen
2024-11-28 21:22:00 +01:00
parent 7fe219998f
commit f0f2dc52cc

View File

@@ -280,8 +280,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
.cygnus => "cygnus",
.simulator => "simulator",
.macabi => "macabi",
.ohos => "ohos",
.ohoseabi => "ohoseabi",
.ohos, .ohoseabi => "ohos",
};
try llvm_triple.appendSlice(llvm_abi);