summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2022-02-10 21:17:42 +0100
committer Willy Sudiarto Raharjo2022-02-11 18:29:43 +0100
commit5c8279d3014fe8981443446b41e7a3e823818366 (patch)
tree4262b7a5803bfd91d33f014a0af63e91d586ff50
parent3745bbb499d541c6df53633eb3afba8bae60670d (diff)
downloadslackbuilds-5c8279d3014fe8981443446b41e7a3e823818366.tar.gz
desktop/wmslideshow: Fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--desktop/wmslideshow/wmslideshow.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/wmslideshow/wmslideshow.SlackBuild b/desktop/wmslideshow/wmslideshow.SlackBuild
index 6934b85e15..e4c2ba3974 100644
--- a/desktop/wmslideshow/wmslideshow.SlackBuild
+++ b/desktop/wmslideshow/wmslideshow.SlackBuild
@@ -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 \