From c0b937ba1259d4b9868f746ee6356ccc59ef9044 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Tue, 24 Sep 2019 11:36:59 -0400 Subject: [PATCH] docgen: slightly cleaner display of libc cli args --- doc/docgen.zig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/docgen.zig b/doc/docgen.zig index 0ef38dc773..4a51e1726a 100644 --- a/doc/docgen.zig +++ b/doc/docgen.zig @@ -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 });