summaryrefslogtreecommitdiffstats
path: root/system/afpfs-ng
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-26 10:18:07 +0100
committer Robby Workman2021-04-18 06:07:31 +0200
commit7483c966992570532fb16fa05de2da8baa907212 (patch)
treeb5dc9a3ecf161e5ca91fb2326a735ed77256309c /system/afpfs-ng
parent9fdb58ec23003131740ac31d24216329d3a05b53 (diff)
downloadslackbuilds-7483c966992570532fb16fa05de2da8baa907212.tar.gz
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 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 \