| ... | @@ -1653,9 +1653,6 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void { | ... | @@ -1653,9 +1653,6 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void { |
| 1653 | // libc dep | 1653 | // libc dep |
| 1654 | if (self.base.options.link_libc) { | 1654 | if (self.base.options.link_libc) { |
| 1655 | if (self.base.options.libc_installation != null) { | 1655 | if (self.base.options.libc_installation != null) { |
| 1656 | if (target_util.libcNeedsLibUnwind(target)) { | | |
| 1657 | try argv.append(comp.libunwind_static_lib.?.full_object_path); | | |
| 1658 | } | | |
| 1659 | const needs_grouping = self.base.options.link_mode == .Static; | 1656 | const needs_grouping = self.base.options.link_mode == .Static; |
| 1660 | if (needs_grouping) try argv.append("--start-group"); | 1657 | if (needs_grouping) try argv.append("--start-group"); |
| 1661 | try argv.appendSlice(target_util.libcFullLinkFlags(target)); | 1658 | try argv.appendSlice(target_util.libcFullLinkFlags(target)); |