diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-06-13 01:27:09 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2022-06-17 16:38:59 -0700 |
| commit | 2259d629d3d4e361f78e4d1b79425dfae912f05c (patch) | |
| tree | 4402fb49cebdf9bbaec0bc6fa861712c6caee922 /src/link/Elf.zig | |
| parent | 80790be3094f65877231209532c04f7fdb4441a7 (diff) | |
| download | zig-2259d629d3d4e361f78e4d1b79425dfae912f05c.tar.gz zig-2259d629d3d4e361f78e4d1b79425dfae912f05c.zip | |
compiler_rt: use single cache for libcompiler_rt.a static lib
Diffstat (limited to 'src/link/Elf.zig')
| -rw-r--r-- | src/link/Elf.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/Elf.zig b/src/link/Elf.zig index 046aa2ec0a..a0e40e5682 100644 --- a/src/link/Elf.zig +++ b/src/link/Elf.zig @@ -1272,7 +1272,7 @@ fn linkWithLLD(self: *Elf, comp: *Compilation, prog_node: *std.Progress.Node) !v const stack_size = self.base.options.stack_size_override orelse 16777216; const allow_shlib_undefined = self.base.options.allow_shlib_undefined orelse !self.base.options.is_native_os; const compiler_rt_path: ?[]const u8 = blk: { - if (comp.compiler_rt_static_lib.crt_lib_file) |x| break :blk x.full_object_path; + if (comp.compiler_rt_lib) |x| break :blk x.full_object_path; if (comp.compiler_rt_obj) |x| break :blk x.full_object_path; break :blk null; }; |
