authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-10 00:51:18-07:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2024-01-10 00:51:18-07:00
log036e9fd479219ed1116fed8c0da89fa5a2829cf9
tree95791a5d43b73b4580ad3fdf9db7e74653b43b95
parent3051d4390b0db3ed6669e8d17fb45edc26ff6fbd

libcxx: fix not passing any_sanitize_thread correctly


1 files changed, 2 insertions(+), 0 deletions(-)

src/libcxx.zig+2
......@@ -153,6 +153,7 @@ pub fn buildLibCXX(comp: *Compilation, prog_node: *std.Progress.Node) !void {
153153 .root_strip = strip,
154154 .link_libc = true,
155155 .lto = comp.config.lto,
156 .any_sanitize_thread = comp.config.any_sanitize_thread,
156157 });
157158
158159 const root_mod = try Module.create(arena, .{
......@@ -358,6 +359,7 @@ pub fn buildLibCXXABI(comp: *Compilation, prog_node: *std.Progress.Node) !void {
358359 .link_libc = true,
359360 .any_unwind_tables = unwind_tables,
360361 .lto = comp.config.lto,
362 .any_sanitize_thread = comp.config.any_sanitize_thread,
361363 });
362364
363365 const root_mod = try Module.create(arena, .{