vim: don't override CFLAGS/LDFLAGS after configuration.

vim does not support building with -D_FORTIFY_SOURCE=2 (and in fact
crashes immediately when doing do).  vim's configure detects this
and rewrites it into -D_FORTIFY_SOURCE=1, which is then used
subsequently.  We therefore use the rewritten flags and do not
override them again.
This commit is contained in:
Christian Neukirchen 2015-03-25 18:00:21 +01:00
parent 27b158f873
commit 3642b38e7b
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@ pkgname=vim
_distver=7.4
_patchver=682
version=${_distver}.${_patchver}
revision=1
revision=2
hostmakedepends="mercurial pkg-config"
makedepends="ncurses-devel acl-devel libXt-devel gtk+-devel perl>=5.20.2
ruby-devel>=2.2 python-devel lua-devel"
@ -78,7 +78,7 @@ do_build() {
for f in ${subpackages/vim-common/}; do
cd $wrksrc/$f
make CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" ${makejobs}
make ${makejobs}
done
}