0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.0.0638: cannot build with new MSVC version

Problem:    Cannot build with new MSVC version VS2017.
Solution:   Change the compiler arguments. (Leonardo Manera, closes #1731,
            closes #1747)
This commit is contained in:
Bram Moolenaar
2017-06-13 15:22:12 +02:00
parent 21b34b63b3
commit d7383881c8
3 changed files with 119 additions and 18 deletions

View File

@@ -1,11 +1,14 @@
# Makefile for GvimExt, using MSVC
# Options:
# DEBUG=yes Build debug version (for VC7 and maybe later)
# CPUARG= /arch:IA32/AVX/etc, call from main makefile to set
# automatically from CPUNR
#
TARGETOS=WINNT
TARGETOS = WINNT
!ifndef APPVER
APPVER=5.0
APPVER = 5.01
!endif
!if "$(DEBUG)" != "yes"
@@ -37,6 +40,9 @@ CPU = i386
!include <Win32.mak>
!endif
# include CPUARG
cflags = $(cflags) $(CPUARG)
all: gvimext.dll
gvimext.dll: gvimext.obj \