aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Build/Step
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-10-18 00:01:33 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-10-18 17:47:57 -0400
commitec21da0d51afa9b688ed99425b307e23a9c57a07 (patch)
treec4550372d33a445e2da6ff9eebab0a955e56eea9 /lib/std/Build/Step
parentf9a34131128dffaeac7561afe34956ec2ee17fef (diff)
downloadzig-ec21da0d51afa9b688ed99425b307e23a9c57a07.tar.gz
zig-ec21da0d51afa9b688ed99425b307e23a9c57a07.zip
compiler: fix LTO availability logic
Before this commit, the logic would fail with a "LTO not available" error if the user set `-fno-lto` which doesn't make sense. This commit corrects the logic to understand when the user is explicitly requesting to turn LTO off.
Diffstat (limited to 'lib/std/Build/Step')
0 files changed, 0 insertions, 0 deletions