On Fri, 13 Nov 2020 at 16:26, Dan Church <amphetamach...@gmail.com> wrote: > > Sometimes the compiler will leave a write-protected .o file in the temp > directory, and GNU rm will ask before deleting it unless -f is > specified. > > Signed-off-by: Dan Church <amphetamach...@gmail.com> > --- > configure | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/configure b/configure > index 4cef321d9d..663b91a334 100755 > --- a/configure > +++ b/configure > @@ -7080,4 +7080,4 @@ done > echo ' "$@"' >>config.status > chmod +x config.status > > -rm -r "$TMPDIR1" > +rm -rf "$TMPDIR1"
We rm -rf this directory at the top of configure, so it seems like an oversight that we don't use '-f' here at the bottom too. Reviewed-by: Peter Maydell <peter.mayd...@linaro.org> You should probably look into why your compiler is generating write-protected .o files, though -- that doesn't sound normal. thanks -- PMM