mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 23:52:31 +00:00
docgen: slightly cleaner display of libc cli args
This commit is contained in:
parent
5fb7af26ab
commit
c0b937ba12
@ -1086,9 +1086,8 @@ fn genHtml(allocator: *mem.Allocator, tokenizer: *Tokenizer, toc: *Toc, out: var
|
||||
try out.print(" --object {}", name_with_ext);
|
||||
}
|
||||
if (code.link_libc) {
|
||||
try build_args.append("--library");
|
||||
try build_args.append("c");
|
||||
try out.print(" --library c");
|
||||
try build_args.append("-lc");
|
||||
try out.print(" -lc");
|
||||
}
|
||||
if (code.target_str) |triple| {
|
||||
try build_args.appendSlice([_][]const u8{ "-target", triple });
|
||||
|
Loading…
Reference in New Issue
Block a user