From de13cd765719f727d274395cf82bac2085c26579 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 3 Oct 2021 22:51:42 +0200 Subject: desktop/wmSunMoon: Pass -fcommon with the CFLAGS for gcc >= 10.x. Signed-off-by: Matteo Bernardini Signed-off-by: Willy Sudiarto Raharjo --- desktop/wmSunMoon/wmSunMoon.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'desktop') diff --git a/desktop/wmSunMoon/wmSunMoon.SlackBuild b/desktop/wmSunMoon/wmSunMoon.SlackBuild index 1cc3ad4626..c6d7aa55a7 100644 --- a/desktop/wmSunMoon/wmSunMoon.SlackBuild +++ b/desktop/wmSunMoon/wmSunMoon.SlackBuild @@ -65,7 +65,7 @@ find -L . \ cd wmSunMoon mkdir -p $PKG/usr/{bin,man/man1,,man/man7,doc/$PRGNAM-$VERSION} make \ - COPTS="$SLKCFLAGS" \ + COPTS="$SLKCFLAGS -fcommon" \ INCDIR="-I/usr/include/X11" \ LIBDIR="-L/usr/lib${LIBDIRSUFFIX}/X11" cp -a wmSunMoon $PKG/usr/bin -- cgit v1.2.3