zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 766e281a72bb915ebee21cafd862d6b7a2a298ca (tree)
parent e9309036b28d402afd5f9f77d2d32e7d7b902b9f
Author: Jakub Konka <kubkon@jakubkonka.com>
Date:   Wed, 26 Jun 2024 22:01:00 +0200

macho: set allow_shlib_undefined to true when TSAN was requested

Diffstat:
Msrc/link/MachO.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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.* = .{