diff --git a/lib/compiler/aro/aro/target.zig b/lib/compiler/aro/aro/target.zig index 5e5a7936329e13b1b99b191b8f22aa96c4e53b1d..56bc4dd46a215f904d5a2736c58c3f8114356499 100644 --- a/lib/compiler/aro/aro/target.zig +++ b/lib/compiler/aro/aro/target.zig @@ -693,7 +693,7 @@ pub fn toLLVMTriple(target: std.Target, buf: []u8) []const u8 { .gnuf32 => "gnuf32", .gnusf => "gnusf", .gnux32 => "gnux32", - .gnuilp32 => "gnuilp32", + .gnuilp32 => "gnu_ilp32", .code16 => "code16", .eabi => "eabi", .eabihf => "eabihf", diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig index 0a1073efcf71f49fa385b18d2ef53805cb0b0e22..74c1bb1f5d201b04ffd2ae9c6c6e7149cf8abda8 100644 --- a/src/codegen/llvm.zig +++ b/src/codegen/llvm.zig @@ -263,7 +263,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { .gnuf32 => "gnuf32", .gnusf => "gnusf", .gnux32 => "gnux32", - .gnuilp32 => "gnuilp32", + .gnuilp32 => "gnu_ilp32", .code16 => "code16", .eabi => "eabi", .eabihf => "eabihf",