ttyrec: apply voids {LD,C}FLAGS correctly.
This commit is contained in:
@@ -10,7 +10,8 @@ license="BSD"
|
||||
checksum=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec
|
||||
|
||||
do_build() {
|
||||
make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty -lutil $CFLAGS"
|
||||
sed -i 's/\$(CFLAGS)/$(LDFLAGS)/' Makefile
|
||||
make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty $CFLAGS" LDFLAGS="-lutil $LDFLAGS"
|
||||
}
|
||||
do_install() {
|
||||
for f in rec play; do
|
||||
|
||||
Reference in New Issue
Block a user