libraries/libpri: Disable -Werror.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-10-23 14:19:40 +02:00 committed by Willy Sudiarto Raharjo
parent 1c55f39e4b
commit 8164abe45a
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 2 additions and 0 deletions

View File

@ -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