mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 21:08:36 +00:00
target: Add libc link flags for serenity
This commit is contained in:
parent
26bd74e87f
commit
bf4fda4db6
@ -414,6 +414,8 @@ pub fn libcFullLinkFlags(target: *const std.Target) []const []const u8 {
|
||||
.android, .androideabi, .ohos, .ohoseabi => &.{ "-lm", "-lc", "-ldl" },
|
||||
else => &.{ "-lm", "-lpthread", "-lc", "-ldl", "-lrt", "-lutil" },
|
||||
},
|
||||
// On SerenityOS libc includes libm, libpthread, libdl, and libssp.
|
||||
.serenity => &.{"-lc"},
|
||||
else => &.{},
|
||||
};
|
||||
return result;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user