Index: usr.sbin/crunch/crunchgen/crunchgen.c =================================================================== --- usr.sbin/crunch/crunchgen/crunchgen.c +++ usr.sbin/crunch/crunchgen/crunchgen.c @@ -1123,7 +1123,7 @@ fprintf(outmk, " $(%s_LIBS)", p->ident); fprintf(outmk, "\n"); - fprintf(outmk, "\t$(CC) -nostdlib -Wl,-dc -r -o %s.lo %s_stub.o $(%s_OBJPATHS)", + fprintf(outmk, "\t$(CC) -nostdlib -r -o %s.lo %s_stub.o $(%s_OBJPATHS)", p->name, p->name, p->ident); if (p->libs) fprintf(outmk, " $(%s_LIBS)", p->ident);