freebsd: remove system linker hack

This commit is contained in:
Marcio Giaxa 2018-12-20 21:44:18 -02:00
parent a6f33e3dc5
commit c156d51d55
No known key found for this signature in database
GPG Key ID: 8628FA02F5CFEA9C

View File

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