changeset 14937:d36dd08d36c1 v8.1.0480

patch 8.1.0480: MinGW build file uses different -I flags than MVC commit https://github.com/vim/vim/commit/b361db077ffb9669147d3ff1cc0191154f7289e4 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 16 21:13:14 2018 +0200 patch 8.1.0480: MinGW build file uses different -I flags than MVC Problem: MinGW build file uses different -I flags than MVC. Solution: Add -I to $CFLAGS. (Ken takata)
author Bram Moolenaar <Bram@vim.org>
date Tue, 16 Oct 2018 21:15:05 +0200
parents f74c828b691c
children fb7a915f839f
files src/Make_cyg_ming.mak src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -501,7 +501,7 @@ endif
 #>>>>> end of choices
 ###########################################################################
 
-CFLAGS = -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall
+CFLAGS = -I. -Iproto $(DEFINES) -pipe -march=$(ARCH) -Wall
 CXXFLAGS = -std=gnu++11
 WINDRES_FLAGS = --preprocessor="$(WINDRES_CC) -E -xc" -DRC_INVOKED
 EXTRA_LIBS =
@@ -1049,7 +1049,7 @@ auto/if_perl.c:		if_perl.xs typemap
 	     $(PERLTYPEMAP) if_perl.xs -output $@
 
 $(OUTDIR)/if_perl.o:	auto/if_perl.c $(INCL)
-	$(CC) -c $(CFLAGS) -I. auto/if_perl.c -o $(OUTDIR)/if_perl.o
+	$(CC) -c $(CFLAGS) auto/if_perl.c -o $(OUTDIR)/if_perl.o
 
 
 $(OUTDIR)/if_ruby.o:	if_ruby.c $(INCL)
--- a/src/version.c
+++ b/src/version.c
@@ -793,6 +793,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    480,
+/**/
     479,
 /**/
     478,