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 {...@@ -153,6 +153,7 @@ pub fn buildLibCXX(comp: *Compilation, prog_node: *std.Progress.Node) !void {
153 .root_strip = strip,153 .root_strip = strip,
154 .link_libc = true,154 .link_libc = true,
155 .lto = comp.config.lto,155 .lto = comp.config.lto,
156 .any_sanitize_thread = comp.config.any_sanitize_thread,
156 });157 });
157158
158 const root_mod = try Module.create(arena, .{159 const root_mod = try Module.create(arena, .{
...@@ -358,6 +359,7 @@ pub fn buildLibCXXABI(comp: *Compilation, prog_node: *std.Progress.Node) !void {...@@ -358,6 +359,7 @@ pub fn buildLibCXXABI(comp: *Compilation, prog_node: *std.Progress.Node) !void {
358 .link_libc = true,359 .link_libc = true,
359 .any_unwind_tables = unwind_tables,360 .any_unwind_tables = unwind_tables,
360 .lto = comp.config.lto,361 .lto = comp.config.lto,
362 .any_sanitize_thread = comp.config.any_sanitize_thread,
361 });363 });
362364
363 const root_mod = try Module.create(arena, .{365 const root_mod = try Module.create(arena, .{