diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2024-01-10 00:51:18 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2024-01-10 00:51:18 -0700 |
| commit | 036e9fd479219ed1116fed8c0da89fa5a2829cf9 (patch) | |
| tree | 95791a5d43b73b4580ad3fdf9db7e74653b43b95 /src | |
| parent | 3051d4390b0db3ed6669e8d17fb45edc26ff6fbd (diff) | |
| download | zig-036e9fd479219ed1116fed8c0da89fa5a2829cf9.tar.gz zig-036e9fd479219ed1116fed8c0da89fa5a2829cf9.zip | |
libcxx: fix not passing any_sanitize_thread correctly
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcxx.zig | 2 |
1 files changed, 2 insertions, 0 deletions
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, .{ |
