1
0
forked from aniani/vim

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 #3460)
This commit is contained in:
Bram Moolenaar
2018-09-21 14:43:10 +02:00
parent 76c612a166
commit 4ff4290de1
2 changed files with 9 additions and 0 deletions

View File

@@ -35,6 +35,9 @@ FEATURES=HUGE
# set to yes for a debug build # set to yes for a debug build
DEBUG=no DEBUG=no
# set to yes to create a mapfile
# MAP=yes
# set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization # set to SIZE for size, SPEED for speed, MAXSPEED for maximum optimization
OPTIMIZE=MAXSPEED OPTIMIZE=MAXSPEED
@@ -936,6 +939,10 @@ ifeq (yes, $(STATIC_WINPTHREAD))
LIB += -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic LIB += -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic
endif endif
ifeq (yes, $(MAP))
LFLAGS += -Wl,-Map=$(TARGET).map
endif
all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll all: $(TARGET) vimrun.exe xxd/xxd.exe install.exe uninstal.exe GvimExt/gvimext.dll
vimrun.exe: vimrun.c vimrun.exe: vimrun.c

View File

@@ -794,6 +794,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
422,
/**/ /**/
421, 421,
/**/ /**/