ttyrec: use our CFLAGS; fix cross build.

This commit is contained in:
Juan RP 2014-04-13 12:35:12 +02:00
parent 47baddf877
commit 52dfe33e50
1 changed files with 2 additions and 2 deletions

View File

@ -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() {