]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete the config.cache...
authorNick Clifton <nickc@gcc.gnu.org>
Wed, 17 Feb 2010 11:01:44 +0000 (11:01 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 17 Feb 2010 11:01:44 +0000 (11:01 +0000)
        * Makefile.tpl: Use "-exec rm {}" rather than "-delete" to delete
        the config.cache files found by the find command.

From-SVN: r156828

Makefile.in
Makefile.tpl

index 2f96521a54111d10724a999bda21f64151ca2225..93f66b6fd7c8bcfe01f729afa72a3f61834ec32d 100644 (file)
@@ -2658,7 +2658,7 @@ local-distclean:
        -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
        -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
        -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
-       -find . -name config.cache -delete \; 2>/dev/null
+       -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
 
 local-maintainer-clean:
        @echo "This command is intended for maintainers to use;"
index 37317bcaf88aed5ac55dbfa4afe041ca7f69bf9e..98b526c5a488615665113e43837f81044a67d7dc 100644 (file)
@@ -771,7 +771,7 @@ local-distclean:
        -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
        -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
        -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
-       -find . -name config.cache -delete \; 2>/dev/null
+       -find . -name config.cache -exec rm -f {} \; \; 2>/dev/null
 
 local-maintainer-clean:
        @echo "This command is intended for maintainers to use;"