summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-05-30 22:09:57 +0200
committer Matteo Bernardini2020-04-04 13:10:07 +0200
commit4418f99c6d4128ec028ce756c42a89cf5bd1831c (patch)
treee3249df3a21e10e228b2b05d40926f3c5fea2776
parentd9f557c5159aab249ae6cae6f7b901bee9727a6b (diff)
downloadslackbuilds-ttyrec.tar.gz
system/ttyrec: Fix CFLAGS to let it build on current.ttyrec
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/ttyrec/ttyrec.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/ttyrec/ttyrec.SlackBuild b/system/ttyrec/ttyrec.SlackBuild
index caecc00574..4b4f00653b 100644
--- a/system/ttyrec/ttyrec.SlackBuild
+++ b/system/ttyrec/ttyrec.SlackBuild
@@ -72,7 +72,7 @@ find -L . \
# Fixed: "Out of pty's Terminated"
patch -p1 < $CWD/ttyrec-1.0.8.RHEL5.patch
-make
+make CFLAGS+="$SLKCFLAGS -DSVR4 -DHAVE_inotify -D_XOPEN_SOURCE=500"
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true