]> granicus.if.org Git - vim/commitdiff
patch 8.1.0480: MinGW build file uses different -I flags than MVC v8.1.0480
authorBram Moolenaar <Bram@vim.org>
Tue, 16 Oct 2018 19:13:14 +0000 (21:13 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 16 Oct 2018 19:13:14 +0000 (21:13 +0200)
Problem:    MinGW build file uses different -I flags than MVC.
Solution:   Add -I to $CFLAGS. (Ken takata)

src/Make_cyg_ming.mak
src/version.c

index e213b803d1bf0db8b00d9365127ea87db25524d8..3f058422b56a2d67b19032eee62cff7cc800f220 100644 (file)
@@ -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)
index 350c8a7acbfe73ace1bf5c586eff1ef7cc252c27..1eab778c9321631b03dda8b1a71c9d9468d1b586 100644 (file)
@@ -792,6 +792,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    480,
 /**/
     479,
 /**/