build: Use rm -fv for BATCH_DELETE_OLD_FILES

It's possible to have files with odd permissions in the tmproot (or
sysroot), causing rm to prompt for each one during e.g. buildworld.
Add -f to forcibly delete these.

Reviewed by:	brooks
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D37111
This commit is contained in:
Ed Maste 2022-10-24 14:06:41 -04:00
parent ed72168431
commit 470fb726f3

View File

@ -3216,7 +3216,7 @@ specific library."
.if !defined(BATCH_DELETE_OLD_FILES)
RM_I=-i
.else
RM_I=-v
RM_I=-fv
.endif
list-old-files: .PHONY