mirror of
https://github.com/ziglang/zig.git
synced 2026-01-05 13:03:25 +00:00
wasi: Fix libwasi-emulated-process-clocks build
Might have been broken in 05d8b565ad1a1d6c0c1e93dc47f1d828043fcafc.
This commit is contained in:
parent
1f1082e36d
commit
2bf9ff1b42
@ -143,7 +143,16 @@ pub fn buildCrtFile(comp: *Compilation, crt_file: CrtFile, prog_node: std.Progre
|
||||
// Compile libwasi-emulated-process-clocks.
|
||||
var args = std.ArrayList([]const u8).init(arena);
|
||||
try addCCArgs(comp, arena, &args, .{ .want_O3 = true });
|
||||
try addLibcBottomHalfIncludes(comp, arena, &args);
|
||||
try args.appendSlice(&.{
|
||||
"-I",
|
||||
try comp.dirs.zig_lib.join(arena, &.{
|
||||
"libc",
|
||||
"wasi",
|
||||
"libc-bottom-half",
|
||||
"cloudlibc",
|
||||
"src",
|
||||
}),
|
||||
});
|
||||
|
||||
for (emulated_process_clocks_src_files) |file_path| {
|
||||
try libc_sources.append(.{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user