From 7483c966992570532fb16fa05de2da8baa907212 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sat, 26 Dec 2020 10:18:07 +0100 Subject: [PATCH] system/afpfs-ng: Fix for gcc >= 10.x. Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini --- system/afpfs-ng/afpfs-ng.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/afpfs-ng/afpfs-ng.SlackBuild b/system/afpfs-ng/afpfs-ng.SlackBuild index 99ca7c533a..0f2b3ee3c9 100644 --- a/system/afpfs-ng/afpfs-ng.SlackBuild +++ b/system/afpfs-ng/afpfs-ng.SlackBuild @@ -69,7 +69,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" \ +CFLAGS="$SLKCFLAGS -fcommon" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \