mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-03-08 02:24:33 +01:00
link/Elf.zig: set stack size and build-id for dynamic libraries.
This commit is contained in:
parent
0df1f3df2f
commit
d02c2c76fc
1 changed files with 2 additions and 0 deletions
|
|
@ -1716,7 +1716,9 @@ fn linkWithLLD(self: *Elf, arena: Allocator, tid: Zcu.PerThread.Id, prog_node: s
|
|||
"-z",
|
||||
try std.fmt.allocPrint(arena, "stack-size={d}", .{self.base.stack_size}),
|
||||
});
|
||||
}
|
||||
|
||||
if (is_exe_or_dyn_lib) {
|
||||
switch (self.base.build_id) {
|
||||
.none => {},
|
||||
.fast, .uuid, .sha1, .md5 => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue