zig/lib/std/Build/Step
Andrew Kelley 8ae92fd17e std.Build.Step.Compile: fix clearing logic for empty cflags
Commit c0b774fbc6 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.
2023-07-04 10:53:35 -07:00
..
CheckFile.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
CheckObject.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
Compile.zig std.Build.Step.Compile: fix clearing logic for empty cflags 2023-07-04 10:53:35 -07:00
ConfigHeader.zig std.Build: omit newline from last line 2023-06-26 04:25:14 -07:00
Fmt.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
InstallArtifact.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
InstallDir.zig Build: make InstallDirStep use a FileSource 2023-06-26 15:59:53 -07:00
InstallFile.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
ObjCopy.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
Options.zig std: replace builtin.Version with SemanticVersion 2023-06-17 13:17:34 -07:00
RemoveDir.zig std.Build: use Step.* instead of *Step 2023-05-03 20:55:29 -07:00
Run.zig all: migrate code to new cast builtin syntax 2023-06-24 16:56:39 -07:00
TranslateC.zig std: replace builtin.Version with SemanticVersion 2023-06-17 13:17:34 -07:00
WriteFile.zig Fixes WriteFile.getFileSource failure on Windows (#15730) 2023-05-24 14:26:07 -07:00