system/arc: Add a fix for gcc >= 10.x.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2021-04-06 15:50:15 +02:00 committed by Robby Workman
parent 68e8d9bda6
commit 26b5fa736f
1 changed files with 1 additions and 1 deletions

View File

@ -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