| ... | @@ -299,9 +299,6 @@ fn configureStage2(b: *Builder, exe: var, ctx: Context) !void { | ... | @@ -299,9 +299,6 @@ fn configureStage2(b: *Builder, exe: var, ctx: Context) !void { |
| 299 | } else if (exe.target.isFreeBSD()) { | 299 | } else if (exe.target.isFreeBSD()) { |
| 300 | try addCxxKnownPath(b, ctx, exe, "libc++.a", null); | 300 | try addCxxKnownPath(b, ctx, exe, "libc++.a", null); |
| 301 | exe.linkSystemLibrary("pthread"); | 301 | exe.linkSystemLibrary("pthread"); |
| 302 | // TODO LLD cannot perform this link. | | |
| 303 | // See https://github.com/ziglang/zig/issues/1535 | | |
| 304 | exe.enableSystemLinkerHack(); | | |
| 305 | } | 302 | } |
| 306 | else if (exe.target.isDarwin()) { | 303 | else if (exe.target.isDarwin()) { |
| 307 | if (addCxxKnownPath(b, ctx, exe, "libgcc_eh.a", "")) { | 304 | if (addCxxKnownPath(b, ctx, exe, "libgcc_eh.a", "")) { |