| ... | @@ -1658,9 +1658,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void { | ... | @@ -1658,9 +1658,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation) !void { |
| 1658 | try argv.append("-lm"); | 1658 | try argv.append("-lm"); |
| 1659 | } | 1659 | } |
| 1660 | | 1660 | |
| 1661 | if (target.os.tag == .freebsd or target.os.tag == .netbsd or target.os.tag == .openbsd) { | 1661 | try argv.append("-lpthread"); |
| 1662 | try argv.append("-lpthread"); | | |
| 1663 | } | | |
| 1664 | } else if (target.isGnuLibC()) { | 1662 | } else if (target.isGnuLibC()) { |
| 1665 | try argv.append(comp.libunwind_static_lib.?.full_object_path); | 1663 | try argv.append(comp.libunwind_static_lib.?.full_object_path); |
| 1666 | for (glibc.libs) |lib| { | 1664 | for (glibc.libs) |lib| { |