diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-01 07:04:39 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-01 07:04:39 +0000 |
commit | 493fe5b7ea864c75dbfad8a099a0ccadb4c5257c (patch) | |
tree | cc72fb575b8e5ae760cf33ffd6a46f26634c031d /usr.sbin/config/mkmakefile.c | |
parent | 1846b50311080d351dfb37166d14165fef934a8a (diff) |
In the KARL relink case, the bsd.gdb built on the way (so that we get
CTF) is not needed and can be removed.
Diffstat (limited to 'usr.sbin/config/mkmakefile.c')
-rw-r--r-- | usr.sbin/config/mkmakefile.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/config/mkmakefile.c b/usr.sbin/config/mkmakefile.c index a5bf75aaf9b..012ff4ff337 100644 --- a/usr.sbin/config/mkmakefile.c +++ b/usr.sbin/config/mkmakefile.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mkmakefile.c,v 1.45 2017/11/05 10:29:24 rpe Exp $ */ +/* $OpenBSD: mkmakefile.c,v 1.46 2019/04/01 07:04:38 deraadt Exp $ */ /* $NetBSD: mkmakefile.c,v 1.34 1997/02/02 21:12:36 thorpej Exp $ */ /* @@ -517,8 +517,9 @@ emitload(FILE *fp) "\t${SYSTEM_LD_HEAD}\n" "\t${SYSTEM_LD} swap%s.o\n" "\t${SYSTEM_LD_TAIL}\n" + "\trm -f %s.gdb\n" "\tmv -f new%s %s\n\n", - swname, nm, nm) < 0) + swname, nm, nm, nm) < 0) return (1); if (fprintf(fp, "update-link:\n") < 0) |