mirror of
https://github.com/ziglang/zig.git
synced 2026-01-11 09:55:12 +00:00
link/Elf: remove unintended link again libunwind
This was a merge conflict with master branch. The logic for linking libunwind is already handled above.
This commit is contained in:
parent
8405d6f7e2
commit
23fd15fd76
@ -1653,9 +1653,6 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void {
|
||||
// libc dep
|
||||
if (self.base.options.link_libc) {
|
||||
if (self.base.options.libc_installation != null) {
|
||||
if (target_util.libcNeedsLibUnwind(target)) {
|
||||
try argv.append(comp.libunwind_static_lib.?.full_object_path);
|
||||
}
|
||||
const needs_grouping = self.base.options.link_mode == .Static;
|
||||
if (needs_grouping) try argv.append("--start-group");
|
||||
try argv.appendSlice(target_util.libcFullLinkFlags(target));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user