diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-06-13 15:22:12 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-06-13 15:22:12 +0200 |
commit | d7383881c8e9f474a909b54b21abb0aa2b412ba2 (patch) | |
tree | 97a929577ca5edeeb9fd3cd5fa5ba75465312b91 /src/GvimExt | |
parent | 21b34b63b3f63dd54b338c4433fa7117dad9507b (diff) | |
download | vim-git-d7383881c8e9f474a909b54b21abb0aa2b412ba2.tar.gz |
patch 8.0.0638: cannot build with new MSVC versionv8.0.0638
Problem: Cannot build with new MSVC version VS2017.
Solution: Change the compiler arguments. (Leonardo Manera, closes #1731,
closes #1747)
Diffstat (limited to 'src/GvimExt')
-rw-r--r-- | src/GvimExt/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/GvimExt/Makefile b/src/GvimExt/Makefile index 798efd204..043d37da2 100644 --- a/src/GvimExt/Makefile +++ b/src/GvimExt/Makefile @@ -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 \ |