aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2023-07-03 21:47:57 -0700
committerAndrew Kelley <andrew@ziglang.org>2023-07-04 10:53:35 -0700
commit8ae92fd17ee9a3d46e4f441864a8544b440c0b2d (patch)
treee906abcf860cf86dc0709759bb4c7bd7c5004bc0 /src
parentd3eaa75c07aaac09d9dd74aa2a175ba799159faa (diff)
downloadzig-8ae92fd17ee9a3d46e4f441864a8544b440c0b2d.tar.gz
zig-8ae92fd17ee9a3d46e4f441864a8544b440c0b2d.zip
std.Build.Step.Compile: fix clearing logic for empty cflags
Commit c0b774fbc65e3e406a38d37b02fffda7c5d3df26 originally added this logic but it did not properly clear the C command line flags to empty when a previous positional argument had command line flags, because it never set the "previous" flag to true. This fixes C compiler flags not being reset to empty when using the build system and a second positional argument has no arguments after a first positional argument has arguments. Thanks to @squeek502 for finding this.
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions