mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
032accd98b
commit
325420ebe4
@ -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
|
||||
|
@ -184,7 +184,7 @@ ifeq ($(CROSS),yes)
|
||||
ifndef CROSS_COMPILE
|
||||
CROSS_COMPILE = i586-pc-mingw32msvc-
|
||||
endif
|
||||
DEL = rm
|
||||
DEL = rm -f
|
||||
MKDIR = mkdir -p
|
||||
DIRSLASH = /
|
||||
else
|
||||
@ -212,7 +212,7 @@ CROSS_COMPILE =
|
||||
# In this case, unix-like commands can be used.
|
||||
#
|
||||
ifneq (sh.exe, $(SHELL))
|
||||
DEL = rm
|
||||
DEL = rm -f
|
||||
MKDIR = mkdir -p
|
||||
DIRSLASH = /
|
||||
else
|
||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
623,
|
||||
/**/
|
||||
622,
|
||||
/**/
|
||||
|
@ -16,7 +16,7 @@ CC = gcc
|
||||
CFLAGS = -O2 -Wall -DWIN32 $(DEFINES)
|
||||
|
||||
ifneq (sh.exe, $(SHELL))
|
||||
DEL = rm
|
||||
DEL = rm -f
|
||||
else
|
||||
DEL = del
|
||||
endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user