build: fix UM build

This commit is contained in:
Loïc Grégoire
2026-04-24 14:49:25 -04:00
parent 43c6ffa04e
commit 29f5eb37ef
4 changed files with 6 additions and 4 deletions
+2
View File
@@ -225,6 +225,8 @@ fn addKernel(b: *std.Build, plat: config.Platform, optimize: std.builtin.Optimiz
.optimize = optimize,
});
translate_c.addIncludePath(.{ .cwd_relative = "/usr/include" });
kernel.root_module.addImport("c", translate_c.createModule());
kernel.linker_script = b.path("build/linker-scripts/uml.lds");
kernel.root_module.link_libc = true;