diff options
| author | jmc <jmc@NetBSD.org> | 2004-06-21 18:20:08 +0000 |
|---|---|---|
| committer | jmc <jmc@NetBSD.org> | 2004-06-21 18:20:08 +0000 |
| commit | 84fafa3db5bde5b679f152ae36701c896ea245d8 (patch) | |
| tree | b103ddd541348aab4dca7677b1cf82358ac46543 /gnu/usr.bin | |
| parent | 5e420ba7725ee9996786fb4af7bc4d344204e8ba (diff) | |
Ignore errors on some rm -rf's for platforms that aren't quite
POSIX compliant
and return errors on r/o source (FreeBSD) for -rf. Fixes PR#25022
Diffstat (limited to 'gnu/usr.bin')
| -rw-r--r-- | gnu/usr.bin/binutils/ld/Makefile | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/gcc3/host-libiberty/Makefile | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile index 7d1faa747e9..4043f9c8838 100644 --- a/gnu/usr.bin/binutils/ld/Makefile +++ b/gnu/usr.bin/binutils/ld/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2003/12/04 09:29:33 mrg Exp $ +# $NetBSD: Makefile,v 1.18 2004/06/21 18:20:08 jmc Exp $ .include <bsd.own.mk> @@ -92,4 +92,4 @@ e${f}.c: ${DIST}/ld/genscripts.sh ${.CURDIR}/Makefile stringify.sed cleanprog: __cleanldscripts __cleanldscripts: - rm -rf ldscripts + -rm -rf ldscripts diff --git a/gnu/usr.bin/gcc3/host-libiberty/Makefile b/gnu/usr.bin/gcc3/host-libiberty/Makefile index a2eb8073d8c..f2819450e24 100644 --- a/gnu/usr.bin/gcc3/host-libiberty/Makefile +++ b/gnu/usr.bin/gcc3/host-libiberty/Makefile @@ -1,11 +1,11 @@ -# $NetBSD: Makefile,v 1.5 2004/06/12 14:59:36 jmc Exp $ +# $NetBSD: Makefile,v 1.6 2004/06/21 18:20:08 jmc Exp $ libiberty/libiberty.a: [ ! -d libiberty ] && mkdir libiberty || exit 0 (cd libiberty; env CC=${HOST_CC:Q} ${HOST_SH} ${DIST}/libiberty/configure && env CC=${HOST_CC:Q} ${MAKE}) cleandir: - rm -rf libiberty + -rm -rf libiberty depend dependall all: libiberty/libiberty.a |
