From e9cdaad3c4bd2e43767cba4cbc7c74262d333aba Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Sun, 17 May 2015 16:15:30 +0200 Subject: [PATCH] tweak: fix cross-build. --- srcpkgs/tweak/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/tweak/template b/srcpkgs/tweak/template index 19334118965..2770357e52c 100644 --- a/srcpkgs/tweak/template +++ b/srcpkgs/tweak/template @@ -1,7 +1,7 @@ # Template file for 'tweak' pkgname=tweak version=3.01 -revision=2 +revision=3 build_pie=yes makedepends="ncurses-devel" short_desc="An efficient hex editor" @@ -12,7 +12,7 @@ distfiles="http://www.chiark.greenend.org.uk/~sgtatham/${pkgname}/${pkgname}-${v checksum=196e629705969d0f44fdd1436a31c213478bc3ee8ba63e986b56105353c8fd94 do_build() { - make ${makejobs} CC="$CC" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses" + make ${makejobs} CC="$CC" LINK="$CC" CFLAGS="-c $CFLAGS" LIBS="$LDFLAGS -lncurses" } do_install() {