]> granicus.if.org Git - vim/commitdiff
patch 7.4.2034 v7.4.2034
authorBram Moolenaar <Bram@vim.org>
Thu, 14 Jul 2016 18:25:03 +0000 (20:25 +0200)
committerBram Moolenaar <Bram@vim.org>
Thu, 14 Jul 2016 18:25:03 +0000 (20:25 +0200)
Problem:    Build fails with some version of MinGW. (illusorypan)
Solution:   Recognize mingw32. (Ken Takata, closes #921)

src/Make_cyg_ming.mak
src/version.c

index 0e21256ec85d82a7309f38d4863d36afa46355e0..73db7fea1f4f6e3b8ec14a2f1989bb6396f4414f 100644 (file)
@@ -149,7 +149,7 @@ WINDRES_CC = $(CC)
 
 # Get the default ARCH.
 ifndef ARCH
-ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/')
+ARCH := $(shell $(CC) -dumpmachine | sed -e 's/-.*//' -e 's/_/-/' -e 's/^mingw32$$/i686/')
 endif
 
 
index 6dbbeb9ce0c6e901152f1ad040a6c46c73d06b35..af29306e12d56b3421c32c712f64b57f75b56c98 100644 (file)
@@ -758,6 +758,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2034,
 /**/
     2033,
 /**/