mirror of
https://github.com/ziglang/zig.git
synced 2024-12-03 18:38:45 +00:00
freebsd: remove system linker hack
This commit is contained in:
parent
a6f33e3dc5
commit
c156d51d55
@ -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", "")) {
|
||||
|
Loading…
Reference in New Issue
Block a user