aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-04-06 15:50:15 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:09:18 -0500
commit26b5fa736f71d778c878b3c5994d242fa31463cd (patch)
treefb83dd070587a35728ecb278bd560b7ca68d16b0
parent68e8d9bda6952366ee835dc619073d937dd165ae (diff)
system/arc: Add a fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/arc/arc.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/arc/arc.SlackBuild b/system/arc/arc.SlackBuild
index b9e094b40bc3..97e74ecd6880 100644
--- a/system/arc/arc.SlackBuild
+++ b/system/arc/arc.SlackBuild
@@ -55,7 +55,7 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
sed -i 's,share/man,man,' Makefile
-make OPT="$SLKCFLAGS" DESTDIR=$PKG PREFIX=/usr all install
+make OPT="$SLKCFLAGS -w -Wl,--allow-multiple-definition" DESTDIR=$PKG PREFIX=/usr all install
gzip $PKG/usr/man/man?/*.?
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION