Commit c156d51d55

Marcio Giaxa <i@mgxm.me>
2018-12-21 00:44:18
freebsd: remove system linker hack
1 parent a6f33e3
Changed files (1)
build.zig
@@ -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", "")) {