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:
@@ -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
|
||||||
|
@@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user