diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2024-06-26 22:01:00 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2024-06-26 22:01:00 +0200 |
| commit | 766e281a72bb915ebee21cafd862d6b7a2a298ca (patch) | |
| tree | a29eadc1078a0aff35eab76754f575c602cf11db /src | |
| parent | e9309036b28d402afd5f9f77d2d32e7d7b902b9f (diff) | |
| download | zig-766e281a72bb915ebee21cafd862d6b7a2a298ca.tar.gz zig-766e281a72bb915ebee21cafd862d6b7a2a298ca.zip | |
macho: set allow_shlib_undefined to true when TSAN was requested
Diffstat (limited to 'src')
| -rw-r--r-- | src/link/MachO.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link/MachO.zig b/src/link/MachO.zig index 75b2ab4d74..dd185fcaec 100644 --- a/src/link/MachO.zig +++ b/src/link/MachO.zig @@ -192,7 +192,7 @@ pub fn createEmpty( null else try std.fmt.allocPrint(arena, "{s}.o", .{emit.sub_path}); - const allow_shlib_undefined = options.allow_shlib_undefined orelse false; + const allow_shlib_undefined = options.allow_shlib_undefined orelse comp.config.any_sanitize_thread; const self = try arena.create(MachO); self.* = .{ |
