aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-10-23 14:19:40 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-10-27 08:40:40 +0700
commit8164abe45a38ac5ff8a7711d018d01dc2c02b62a (patch)
treed93085e07f853ef6e27f8968ede4bc6162a759c6
parent1c55f39e4b7d0a45b9c1199d28dbf7db958c46d5 (diff)
libraries/libpri: Disable -Werror.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libpri/libpri.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/libpri/libpri.SlackBuild b/libraries/libpri/libpri.SlackBuild
index 8b2d31a3c7eec..e9d5b7fdd33d8 100644
--- a/libraries/libpri/libpri.SlackBuild
+++ b/libraries/libpri/libpri.SlackBuild
@@ -81,6 +81,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|\ -Werror||" Makefile
+
make libdir=/usr/lib${LIBDIRSUFFIX} CPPFLAGS="$SLKCFLAGS"
make install libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG