Fix typo - this upsets llvm/gcc-4.9, but not gcc-4.2 for some reason.

This commit is contained in:
Adrian Chadd 2015-06-14 00:31:22 +00:00
parent 26b05dff32
commit 8d769a021c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284363

View File

@ -1110,7 +1110,7 @@ prog_makefile_rules(FILE *outmk, prog_t *p)
fprintf(outmk, " $(%s_LIBS)", p->ident);
fprintf(outmk, "\n");
fprintf(outmk, "\t$(CC) -nostdlibs -dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)",
fprintf(outmk, "\t$(CC) -nostdlib -dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)",
p->name, p->name, p->ident);
if (p->libs)
fprintf(outmk, " $(%s_LIBS)", p->ident);