diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/std/build.zig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/std/build.zig b/lib/std/build.zig index a1ac3f88f2..5666005fa4 100644 --- a/lib/std/build.zig +++ b/lib/std/build.zig @@ -1237,7 +1237,6 @@ pub const LibExeObjStep = struct { packages: ArrayList(Pkg), build_options_contents: std.ArrayList(u8), build_options_artifact_args: std.ArrayList(BuildOptionArtifactArg), - system_linker_hack: bool = false, object_src: []const u8, @@ -1898,10 +1897,6 @@ pub const LibExeObjStep = struct { self.exec_cmd_args = args; } - pub fn enableSystemLinkerHack(self: *LibExeObjStep) void { - self.system_linker_hack = true; - } - fn linkLibraryOrObject(self: *LibExeObjStep, other: *LibExeObjStep) void { self.step.dependOn(&other.step); self.link_objects.append(LinkObject{ .OtherStep = other }) catch unreachable; @@ -2283,10 +2278,6 @@ pub const LibExeObjStep = struct { } } - if (self.system_linker_hack) { - try zig_args.append("--system-linker-hack"); - } - if (self.valgrind_support) |valgrind_support| { if (valgrind_support) { try zig_args.append("-fvalgrind"); |
