summaryrefslogtreecommitdiffstats
path: root/system/arc/arc.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-06 15:50:15 +0200
committer Robby Workman2021-04-18 06:09:18 +0200
commit26b5fa736f71d778c878b3c5994d242fa31463cd (patch)
treefb83dd070587a35728ecb278bd560b7ca68d16b0 /system/arc/arc.SlackBuild
parent68e8d9bda6952366ee835dc619073d937dd165ae (diff)
downloadslackbuilds-26b5fa736f71d778c878b3c5994d242fa31463cd.tar.gz
system/arc: Add a fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/arc/arc.SlackBuild')
-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 b9e094b40b..97e74ecd68 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