Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libpthread Make CLEANFILES actually work. .TARGET is not...
details: https://anonhg.NetBSD.org/src/rev/cd0270b8b992
branches: trunk
changeset: 451132:cd0270b8b992
user: maya <maya%NetBSD.org@localhost>
date: Tue May 07 18:45:37 2019 +0000
description:
Make CLEANFILES actually work. .TARGET is not defined when not in a target
rule.
Thanks xtos for the heads up.
diffstat:
lib/libpthread/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r ee23c051c93f -r cd0270b8b992 lib/libpthread/Makefile
--- a/lib/libpthread/Makefile Tue May 07 18:12:53 2019 +0000
+++ b/lib/libpthread/Makefile Tue May 07 18:45:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2019/05/07 18:12:53 maya Exp $
+# $NetBSD: Makefile,v 1.94 2019/05/07 18:45:37 maya Exp $
#
NOSANITIZER= # defined
@@ -281,7 +281,7 @@
${LD} -r -o ${.TARGET}.o `NM=${NM} ${LORDER} ${.ALLSRC:M*o} | ${TSORT}`
${AR} ${_ARFL} ${.TARGET} ${.TARGET}.o
-CLEANFILES+= ${.TARGET}.o
+CLEANFILES+= ${_LIBS:=.o}
.include <bsd.lib.mk>
Home |
Main Index |
Thread Index |
Old Index