authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-28 21:22:00+01:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2024-11-28 22:04:00+01:00
logf0f2dc52cc8ea3f0ffa62382e76b6b3a7f1d80b2
tree3042a675d59433a9631bc9eede2400fcabdc8990
parent7fe219998f016bcd1aa530167fde9461acad5d0d
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

llvm: Lower ohoseabi to ohos instead of verbatim.

LLVM doesn't recognize ohoseabi.

1 files changed, 1 insertions(+), 2 deletions(-)

src/codegen/llvm.zig+1-2
...@@ -280,8 +280,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {...@@ -280,8 +280,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 {
280 .cygnus => "cygnus",280 .cygnus => "cygnus",
281 .simulator => "simulator",281 .simulator => "simulator",
282 .macabi => "macabi",282 .macabi => "macabi",
283 .ohos => "ohos",283 .ohos, .ohoseabi => "ohos",
284 .ohoseabi => "ohoseabi",
285 };284 };
286 try llvm_triple.appendSlice(llvm_abi);285 try llvm_triple.appendSlice(llvm_abi);
287286