summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-10 21:01:09 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-12 00:29:43 +0700
commit5f4d043bcfb09779b6c9a0b2794f5b13f46dcb74 (patch)
treefccb07b11fa0dd127b79401690f4640afc5d18d7
parente0685983ce72f26e31564353de16336787323078 (diff)
downloadslackbuilds-5f4d043bcfb09779b6c9a0b2794f5b13f46dcb74.tar.gz
desktop/wmcube: 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/wmcube/wmcube.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/wmcube/wmcube.SlackBuild b/desktop/wmcube/wmcube.SlackBuild
index 6313ca6528..8ab1dcf8af 100644
--- a/desktop/wmcube/wmcube.SlackBuild
+++ b/desktop/wmcube/wmcube.SlackBuild
@@ -63,7 +63,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
cd wmcube
-make CC="gcc -fgnu89-inline $SLKCFLAGS"
+make CC="gcc -fgnu89-inline $SLKCFLAGS -w -Wl,--allow-multiple-definition"
mkdir -p $PKG/usr/bin
cp -p wmcube $PKG/usr/bin
cd -