From c5894983fedd5f553c69b180ca386577c0b54782 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Thu, 17 Dec 2020 10:33:38 +0100 Subject: desktop/wmii: Fix for gcc >= 10.x. Signed-off-by: Matteo Bernardini --- desktop/wmii/wmii.SlackBuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/desktop/wmii/wmii.SlackBuild b/desktop/wmii/wmii.SlackBuild index d7e25f3518d09..c733145d48228 100644 --- a/desktop/wmii/wmii.SlackBuild +++ b/desktop/wmii/wmii.SlackBuild @@ -82,6 +82,8 @@ sed -zi 's,\.P[^@]@DOCDIR@/wmii\.pdf,,' man/wmii.1 sed -i "s,@DOCDIR@,/usr/doc/$PRGNAM-$VERSION,g" man/wmii.1 sed -i "s,@CONFPREFIX@,/etc,g" man/wmii.1 +export CFLAGS="$SLKCFLAGS -fcommon" + LDFLAGS="-lX11 -lXrender" \ make \ OPT="$SLKCFLAGS" \ -- cgit v1.2.3