From ec7589e0c1f7e22eea94ac1d57c2b2c5074b0835 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Fri, 12 Feb 2021 22:48:30 +0100 Subject: [PATCH] network/glusterfs: Fix for gcc >= 10.x. Signed-off-by: Matteo Bernardini --- network/glusterfs/glusterfs.SlackBuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/glusterfs/glusterfs.SlackBuild b/network/glusterfs/glusterfs.SlackBuild index 099eb7f2ee..ffc71919d3 100644 --- a/network/glusterfs/glusterfs.SlackBuild +++ b/network/glusterfs/glusterfs.SlackBuild @@ -70,7 +70,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; ./autogen.sh -CFLAGS="$SLKCFLAGS" \ +CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \