0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 9.1.0623: Mingw: errors when trying to delete non-existing files

Problem:  Mingw: warnings when trying to delete non-existing files
Solution: Use "rm -f" instead of "rm" to suppress errors for
          non-existing files (Ken Takata)

closes: #15350

Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Ken Takata
2024-07-26 19:02:11 +02:00
committed by Christian Brabandt
parent 032accd98b
commit 325420ebe4
4 changed files with 7 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ LDFLAGS += -static-libgcc -static-libstdc++
endif
ifeq ($(CROSS),yes)
DEL = rm
DEL = rm -f
ifeq ($(MINGWOLD),yes)
CXXFLAGS := -O2 -fvtable-thunks
else
@@ -38,7 +38,7 @@ endif
else
CXXFLAGS := -O2
ifneq (sh.exe, $(SHELL))
DEL = rm
DEL = rm -f
else
DEL = del
endif