commit f05e6237f4f8b524fb700eaa3cca4a047c44fa77
parent f4a40c834efeadb0c9989aa6840834a4b6565c2e
Author: Sylvia Ivory <git@sivory.net>
Date: Tue, 13 Jan 2026 17:29:44 -0800
Adjust build settings
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/build.zig b/build.zig
@@ -10,7 +10,7 @@ const target: std.Target.Query = .{
.cpu_model = .{ .explicit = &std.Target.arm.cpu.arm1176jzf_s },
.cpu_features_add = std.Target.arm.cpu.arm1176jzf_s.features,
.os_tag = .freestanding,
- .abi = .none,
+ .abi = .eabi,
};
fn add_exe(exe_name: []const u8, path: std.Build.LazyPath, b: *std.Build) !*std.Build.Step.Compile {
@@ -23,6 +23,9 @@ fn add_exe(exe_name: []const u8, path: std.Build.LazyPath, b: *std.Build) !*std.
.optimize = .ReleaseSafe,
.unwind_tables = .none,
.single_threaded = true,
+ .error_tracing = false,
+ .link_libc = false,
+ .no_builtin = true,
}),
});
exe.setLinkerScript(b.path("linker.ld"));