git » libfiu » commit 3b9e348

preload/posix: Use rm -f for files that may not be there

author Alberto Bertogli
2010-10-13 15:39:34 UTC
committer Alberto Bertogli
2010-10-13 15:39:34 UTC
parent fe3756923bd0500179e7508e39515f65c609a19c

preload/posix: Use rm -f for files that may not be there

Signed-off-by: Alberto Bertogli <albertito@blitiri.com.ar>

preload/posix/Makefile +1 -1

diff --git a/preload/posix/Makefile b/preload/posix/Makefile
index 888e373..b2afa58 100644
--- a/preload/posix/Makefile
+++ b/preload/posix/Makefile
@@ -65,7 +65,7 @@ $(OBJS): build-flags
 build-needlibdl:
 	@$(LD) -ldl -o dlcheck.so 2>/dev/null \
 		&& echo -ldl > $@ || echo > $@
-	@rm dlcheck.so
+	@rm -f dlcheck.so
 
 # libc's soname depends on the platform (most use libc.so.6, but for example
 # ia64 and alpha use libc.so.6.1), so find which one to use at build-time.