From 3642b38e7bee48fdeca500d497a391c93fafa864 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Wed, 25 Mar 2015 18:00:21 +0100 Subject: [PATCH] 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. --- srcpkgs/vim/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index 628f3cf3979..473ac8518b5 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -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 }