aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/dcc/APKBUILD4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/dcc/APKBUILD b/community/dcc/APKBUILD
index d3256a5974..43dd1028f9 100644
--- a/community/dcc/APKBUILD
+++ b/community/dcc/APKBUILD
@@ -24,6 +24,10 @@ options="!check"
_p=var/dcc/libexec
+# Fix build with gcc 10, no idea how the multiple definitions of grey_on
+# are supposed to be resolved properly, so just disable -fno-common.
+export CFLAGS="$CFLAGS -fcommon"
+
prepare() {
chmod 755 configure
chmod 644 include/dcc_types.h include/dcc_config.h.in homedir/dcc_conf.in LICENSE