From 334f8ea26eb41a7ac31e1990c562521d648d5206 Mon Sep 17 00:00:00 2001 From: Toyam Cox Date: Mon, 20 Jun 2016 00:11:31 -0400 Subject: [PATCH] ttyload-git: respect our LDFLAGS --- srcpkgs/ttyload-git/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ttyload-git/template b/srcpkgs/ttyload-git/template index 941243be48..978015726b 100644 --- a/srcpkgs/ttyload-git/template +++ b/srcpkgs/ttyload-git/template @@ -1,7 +1,7 @@ # Template file for 'ttyload-git' pkgname=ttyload-git version=20141117 -revision=2 +revision=3 hostmakedepends="git" short_desc="An ASCII colour-coded graph of load averages over time" maintainer="Thomas Adam " @@ -15,9 +15,15 @@ do_fetch() { msg_normal "Fetching source from $url ...\n" git clone ${url} ${pkgname}-${version} } + +pre_build() { + echo "echo '$LDFLAGS'" > ./ldflags +} + do_build() { make CC=$CC OTHER_FLAGS="$CFLAGS" } + do_install() { vbin ttyload }