commit f0f2dc52cc8ea3f0ffa62382e76b6b3a7f1d80b2 (tree)
parent 7fe219998f016bcd1aa530167fde9461acad5d0d
Author: Alex Rønne Petersen <alex@alexrp.com>
Date: Thu, 28 Nov 2024 21:22:00 +0100
llvm: Lower ohoseabi to ohos instead of verbatim.
LLVM doesn't recognize ohoseabi.
Diffstat:
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig
@@ -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);