From 036e9fd479219ed1116fed8c0da89fa5a2829cf9 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 10 Jan 2024 00:51:18 -0700 Subject: [PATCH] libcxx: fix not passing any_sanitize_thread correctly --- src/libcxx.zig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/libcxx.zig b/src/libcxx.zig index 8e28c2174d..b563c56f5a 100644 --- a/src/libcxx.zig +++ b/src/libcxx.zig @@ -153,6 +153,7 @@ pub fn buildLibCXX(comp: *Compilation, prog_node: *std.Progress.Node) !void { .root_strip = strip, .link_libc = true, .lto = comp.config.lto, + .any_sanitize_thread = comp.config.any_sanitize_thread, }); const root_mod = try Module.create(arena, .{ @@ -358,6 +359,7 @@ pub fn buildLibCXXABI(comp: *Compilation, prog_node: *std.Progress.Node) !void { .link_libc = true, .any_unwind_tables = unwind_tables, .lto = comp.config.lto, + .any_sanitize_thread = comp.config.any_sanitize_thread, }); const root_mod = try Module.create(arena, .{