summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2017-05-30 22:09:57 +0200
committer Matteo Bernardini2020-06-28 11:22:01 +0200
commit08ac4aaf23bb49ce98a726e218960d92755728a3 (patch)
tree0d41b05eb5609c96509bdb599d20e48dd8e81b99
parent039623ea867a44e41cbf62cada3efca35cd703b8 (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