commit 7d48cbd1b683e9a1c1ba511e74d42d9e0fbcb842
parent b407163107dd37fedb240e9039e109d511ac0d92
Author: sin <sin@2f30.org>
Date: Fri, 28 Feb 2014 16:06:39 +0000
Move CFLAGS= LDFLAGS= inside configure
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pkgs/vim b/pkgs/vim
@@ -5,7 +5,7 @@ build: ncurses
wget -c $url
[ -d vim74 ] || tar xjf vim-$v.tar.bz2
cd vim74
- CC=$CC CFLAGS="-I$libcroot/include" LDFLAGS="-L$libcroot/lib -static" ./configure --prefix=/ \
+ CC=$CC ./configure --prefix=/ CFLAGS="-I$libcroot/include" LDFLAGS="-L$libcroot/lib -static" \
--enable-multibyte --disable-gui --with-x=no \
--disable-nls --disable-netbeans || return 1
make -j$nprocs || return 1