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

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-12-08 09:53:00 +01:00 committed by Robby Workman
parent 72c02c64cc
commit c354f942e1

View file

@ -70,7 +70,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
make "CFLAGS=$SLKCFLAGS -lcrypto"
make "CFLAGS=$SLKCFLAGS -lcrypto -w -Wl,--allow-multiple-definition"
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \