mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
zig cc: support -stack in addition to --stack for linker arg
This commit is contained in:
parent
290874a24e
commit
9067daeb94
1 changed files with 1 additions and 1 deletions
|
|
@ -1875,7 +1875,7 @@ fn buildOutputType(
|
|||
fatal("expected linker arg after '{s}'", .{arg});
|
||||
}
|
||||
entry = linker_args.items[i];
|
||||
} else if (mem.eql(u8, arg, "--stack")) {
|
||||
} else if (mem.eql(u8, arg, "--stack") or mem.eql(u8, arg, "-stack")) {
|
||||
i += 1;
|
||||
if (i >= linker_args.items.len) {
|
||||
fatal("expected linker arg after '{s}'", .{arg});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue