desktop/wmslideshow: Fix for gcc >= 10.x.

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

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-10 21:17:42 +01:00 committed by Willy Sudiarto Raharjo
parent 3745bbb499
commit 5c8279d301
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -80,7 +80,7 @@ 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 {} \;
CFLAGS="$SLKCFLAGS" make PREFIX=/usr
CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" make PREFIX=/usr
make install PREFIX=/usr DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \