ttyload-git: respect our LDFLAGS

This commit is contained in:
Toyam Cox 2016-06-20 00:11:31 -04:00
parent 7f2ec7b026
commit 334f8ea26e
1 changed files with 7 additions and 1 deletions

View File

@ -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 <thomas.adam22@gmail.com>"
@ -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
}