From 493fe5b7ea864c75dbfad8a099a0ccadb4c5257c Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 1 Apr 2019 07:04:39 +0000 Subject: In the KARL relink case, the bsd.gdb built on the way (so that we get CTF) is not needed and can be removed. --- usr.sbin/config/mkmakefile.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.sbin/config') 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) -- cgit v1.2.3