summaryrefslogtreecommitdiff
path: root/src/Make_cyg_ming.mak
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-07-14 20:25:03 +0200
committerBram Moolenaar <Bram@vim.org>2016-07-14 20:25:03 +0200
commitf62e797ffa6ab5d4c476b4c9e9a1f7f852910652 (patch)
tree0acabe5f6f95219470d1e58b30e66add737a0fae /src/Make_cyg_ming.mak
parent6d20e1754461b0f8d395f2e3464f0dc1060497f7 (diff)
downloadvim-f62e797ffa6ab5d4c476b4c9e9a1f7f852910652.zip
patch 7.4.2034
Problem: Build fails with some version of MinGW. (illusorypan) Solution: Recognize mingw32. (Ken Takata, closes #921)
Diffstat (limited to 'src/Make_cyg_ming.mak')
-rw-r--r--src/Make_cyg_ming.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Make_cyg_ming.mak b/src/Make_cyg_ming.mak
index 0e21256ec..73db7fea1 100644
--- a/src/Make_cyg_ming.mak
+++ b/src/Make_cyg_ming.mak
@@ -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