From 52dfe33e5051cf90da3f9171473ec3845194600b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 13 Apr 2014 12:35:12 +0200 Subject: [PATCH] ttyrec: use our CFLAGS; fix cross build. --- srcpkgs/ttyrec/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/ttyrec/template b/srcpkgs/ttyrec/template index 0533aa41e86..672c64ec5f1 100644 --- a/srcpkgs/ttyrec/template +++ b/srcpkgs/ttyrec/template @@ -1,7 +1,7 @@ # Template file for 'ttyrec' pkgname=ttyrec version=1.0.8 -revision=1 +revision=2 homepage="http://0xcc.net/ttyrec" distfiles="http://0xcc.net/ttyrec/${pkgname}-${version}.tar.gz" short_desc="tty recorder and player" @@ -10,7 +10,7 @@ license="BSD" checksum=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec do_build() { - make ${makejobs} CFLAGS='-DHAVE_openpty -lutil' + make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty -lutil $CFLAGS" } do_install() {