aboutsummaryrefslogtreecommitdiff
path: root/system/afpfs-ng
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-26 10:18:07 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:07:31 -0500
commit7483c966992570532fb16fa05de2da8baa907212 (patch)
treeb5dc9a3ecf161e5ca91fb2326a735ed77256309c /system/afpfs-ng
parent9fdb58ec23003131740ac31d24216329d3a05b53 (diff)
system/afpfs-ng: Fix for gcc >= 10.x.
Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/afpfs-ng')
-rw-r--r--system/afpfs-ng/afpfs-ng.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/afpfs-ng/afpfs-ng.SlackBuild b/system/afpfs-ng/afpfs-ng.SlackBuild
index 99ca7c533aa72..0f2b3ee3c9a4d 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 \