mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
updated for version 7.4.510
Problem: "-fwrapv" argument breaks use of cproto. Solution: Remove the alphabetic arguments in a drastic way.
This commit is contained in:
@@ -1779,13 +1779,12 @@ update-po:
|
|||||||
proto: $(PRO_AUTO) $(PRO_MANUAL)
|
proto: $(PRO_AUTO) $(PRO_MANUAL)
|
||||||
|
|
||||||
# Filter out arguments that cproto doesn't support.
|
# Filter out arguments that cproto doesn't support.
|
||||||
# Don't pass "-pthread" to cproto, it sees it as a list of individual flags.
|
# Don't pass "-pthread", "-fwrapv" and similar arguments to cproto, it sees
|
||||||
# Don't pass "-fstack-protector" to cproto, for the same reason.
|
# them as a list of individual flags.
|
||||||
# Don't pass "-g" to cproto.
|
|
||||||
# The -E"gcc -E" argument must be separate to avoid problems with shell
|
# The -E"gcc -E" argument must be separate to avoid problems with shell
|
||||||
# quoting.
|
# quoting.
|
||||||
CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
|
CPROTO = cproto $(PROTO_FLAGS) -DPROTO \
|
||||||
`echo '$(LINT_CFLAGS)' | sed -e 's/-pthread//g' -e 's/-fstack-protector//g' -e 's/\ -g\ / /g'`
|
`echo '$(LINT_CFLAGS)' | sed -e 's/ -[a-z-]\+//g'`
|
||||||
|
|
||||||
### Would be nice if this would work for "normal" make.
|
### Would be nice if this would work for "normal" make.
|
||||||
### Currently it only works for (Free)BSD make.
|
### Currently it only works for (Free)BSD make.
|
||||||
|
@@ -741,6 +741,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 */
|
||||||
|
/**/
|
||||||
|
510,
|
||||||
/**/
|
/**/
|
||||||
509,
|
509,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user