summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-26 10:18:07 +0100
committer Matteo Bernardini2021-03-06 09:20:14 +0100
commit5aaf09a78926a221154241ce232d3db50e58d325 (patch)
tree7b39c61b1498dcf5b4efc9db6eb3398d4edb9072
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-afpfs-ng.tar.gz
system/afpfs-ng: Fix for gcc >= 10.x.afpfs-ng
Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-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 \