diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2025-10-08 16:08:05 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-10-10 22:47:47 -0700 |
| commit | 2e31077fe0e021858cf2f92f85e5fcfd12c41501 (patch) | |
| tree | 5f1e04aebfe2e0f440cd3d8426c645d1a723b97b /src/Compilation.zig | |
| parent | b2bc6073c8ada065906da9e3b5a4a2e7db04c21d (diff) | |
| download | zig-2e31077fe0e021858cf2f92f85e5fcfd12c41501.tar.gz zig-2e31077fe0e021858cf2f92f85e5fcfd12c41501.zip | |
Coff: implement threadlocal variables
Diffstat (limited to 'src/Compilation.zig')
| -rw-r--r-- | src/Compilation.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Compilation.zig b/src/Compilation.zig index e7bcc35b29..5925a80f08 100644 --- a/src/Compilation.zig +++ b/src/Compilation.zig @@ -1985,7 +1985,7 @@ pub fn create(gpa: Allocator, arena: Allocator, diag: *CreateDiagnostic, options switch (target_util.zigBackend(target, use_llvm)) { else => {}, .stage2_aarch64, .stage2_x86_64 => if (target.ofmt == .coff) { - break :s if (is_exe_or_dyn_lib) .dyn_lib else .zcu; + break :s if (is_exe_or_dyn_lib and build_options.have_llvm) .dyn_lib else .zcu; }, } if (options.config.use_new_linker) break :s .zcu; |
