comparison src/Make_cyg_ming.mak @ 14820:8ff32a34f25e v8.1.0422

patch 8.1.0422: cannot create map file with MinGW commit https://github.com/vim/vim/commit/4ff4290de1a9c0fddc02b3fc84f5947bb09db06c Author: Bram Moolenaar <Bram@vim.org> Date: Fri Sep 21 14:43:10 2018 +0200 patch 8.1.0422: cannot create map file with MinGW Problem: Cannot create map file with MinGW. Solution: Add support for $MAP. (Ken Takata, closes https://github.com/vim/vim/issues/3460)
author Christian Brabandt <cb@256bit.org>
date Fri, 21 Sep 2018 14:45:07 +0200
parents 63b2ee46537f
children 8b1b3228c410
comparison
equal deleted inserted replaced
14819:b6aa6c36c7bd 14820:8ff32a34f25e
32 # Set to TINY to make minimal version (few features). 32 # Set to TINY to make minimal version (few features).
33 FEATURES=HUGE 33 FEATURES=HUGE
34 34
35 # set to yes for a debug build 35 # set to yes for a debug build
36 DEBUG=no 36 DEBUG=no
37
38 # set to yes to create a mapfile
39 # MAP=yes
37 40
38 # set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization 41 # set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
39 OPTIMIZE=MAXSPEED 42 OPTIMIZE=MAXSPEED
40 43
41 # set to yes to make gvim, no for vim 44 # set to yes to make gvim, no for vim
934 937
935 ifeq (yes, $(STATIC_WINPTHREAD)) 938 ifeq (yes, $(STATIC_WINPTHREAD))
936 LIB += -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic 939 LIB += -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic
937 endif 940 endif
938 941
942 ifeq (yes, $(MAP))
943 LFLAGS += -Wl,-Map=$(TARGET).map
944 endif
945
939 all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll 946 all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll
940 947
941 vimrun.exe: vimrun.c 948 vimrun.exe: vimrun.c
942 $(CC) $(CFLAGS) -o vimrun.exe vimrun.c $(LIB) 949 $(CC) $(CFLAGS) -o vimrun.exe vimrun.c $(LIB)
943 950