Mercurial > vim
changeset 1954:a3552c04f4e1 v7.2.251
updated for version 7.2-251
author | vimboss |
---|---|
date | Fri, 11 Sep 2009 11:44:54 +0000 |
parents | 378e33d47ab0 |
children | 3f1b2e6496de |
files | src/auto/configure src/configure.in src/version.c |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auto/configure +++ b/src/auto/configure @@ -17135,7 +17135,7 @@ if test "$GCC" = yes; then { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5 $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; } if test "$gccmajor" -gt "3"; then - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1" + CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'` { $as_echo "$as_me:$LINENO: result: yes" >&5 $as_echo "yes" >&6; } else
--- a/src/configure.in +++ b/src/configure.in @@ -3233,7 +3233,7 @@ if test "$GCC" = yes; then dnl declared as char x[1] but actually longer. Introduced in gcc 4.0. AC_MSG_CHECKING(whether we need -D_FORTIFY_SOURCE=1) if test "$gccmajor" -gt "3"; then - CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1" + CFLAGS=`echo "$CFLAGS -D_FORTIFY_SOURCE=1" | sed -e 's/-Wp,-D_FORTIFY_SOURCE=2//g' -e 's/-D_FORTIFY_SOURCE=2//g'` AC_MSG_RESULT(yes) else AC_MSG_RESULT(no)