aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step/CheckObject.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-11-05 17:22:25 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-11-06 01:16:09 -0500
commite74ced21b70f229167765d863613d3d5033b93fe (patch)
treeffcd8bf108d712e273b0e19f60dc9cd842f3b148 /lib/std/Build/Step/CheckObject.zig
parent1b0b46a8a9f5ed3ebaf35e3018fd5402957552ae (diff)
downloadzig-e74ced21b70f229167765d863613d3d5033b93fe.tar.gz
zig-e74ced21b70f229167765d863613d3d5033b93fe.zip
frontend: fix -fsingle-threaded default detection logic
The logic in 509be7cf1f10c5d329d2b0524f2af6bfcabd52de assumed that `use_llvm` meant that the LLVM backend would be used, however, use_llvm is false when there are no zig files to compile, which is the case for zig cc. This logic resulted in `-fsingle-threaded` which made libc++ fail to compile for C++ code that includes the threading abstractions (such as LLVM).
Diffstat (limited to 'lib/std/Build/Step/CheckObject.zig')
0 files changed, 0 insertions, 0 deletions