authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-04-04 06:15:23-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2017-04-04 06:15:23-04:00
log00efbfa0543b74add239e8f9b7b3cf94988b5f52
treeab2e4e8ce1e9ea688a9a4e0a01cdd479669b537a
parent8db9d04e6f89a17f17e369a1a2582bdb8db50843

link: correctly print debug linker invocation


1 files changed, 2 insertions(+), 2 deletions(-)

src/link.cpp+2-2
...@@ -815,9 +815,9 @@ void codegen_link(CodeGen *g, const char *out_file) {...@@ -815,9 +815,9 @@ void codegen_link(CodeGen *g, const char *out_file) {
815815
816816
817 if (g->verbose) {817 if (g->verbose) {
818 fprintf(stderr, "link");
819 for (size_t i = 0; i < lj.args.length; i += 1) {818 for (size_t i = 0; i < lj.args.length; i += 1) {
820 fprintf(stderr, " %s", lj.args.at(i));819 const char *space = (i != 0) ? " " : "";
820 fprintf(stderr, "%s%s", space, lj.args.at(i));
821 }821 }
822 fprintf(stderr, "\n");822 fprintf(stderr, "\n");
823 }823 }