mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.0.1646: MS-Windows: executable contains unreferenced functions
Problem: MS-Windows: executable contains unreferenced functions and data. Solution: Add /opt:ref to the compiler command. (Ken Takata)
This commit is contained in:
parent
086eb87695
commit
4368d5ce8a
@ -1158,7 +1158,9 @@ LINK_PDB = /PDB:$(VIM).pdb -debug
|
|||||||
# CFLAGS with /Fo$(OUTDIR)/
|
# CFLAGS with /Fo$(OUTDIR)/
|
||||||
CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/
|
CFLAGS_OUTDIR=$(CFLAGS) /Fo$(OUTDIR)/
|
||||||
|
|
||||||
conflags = /nologo /subsystem:$(SUBSYSTEM)
|
# Add /opt:ref to remove unreferenced functions and data even when /DEBUG is
|
||||||
|
# added.
|
||||||
|
conflags = /nologo /subsystem:$(SUBSYSTEM) /opt:ref
|
||||||
|
|
||||||
PATHDEF_SRC = $(OUTDIR)\pathdef.c
|
PATHDEF_SRC = $(OUTDIR)\pathdef.c
|
||||||
|
|
||||||
|
@ -766,6 +766,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 */
|
||||||
|
/**/
|
||||||
|
1646,
|
||||||
/**/
|
/**/
|
||||||
1645,
|
1645,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user