summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-08 09:53:00 +0100
committer Matteo Bernardini2021-03-06 10:52:27 +0100
commit39755bef40df4b80c775abcd29b11e9077f26870 (patch)
tree591aea03776154b30cfdc7c830602b4f7713388f
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-slackyd.tar.gz
system/slackyd: Add a fix for gcc >= 10.x.slackyd
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--system/slackyd/slackyd.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/slackyd/slackyd.SlackBuild b/system/slackyd/slackyd.SlackBuild
index e02d19902c..7eeac5a742 100644
--- a/system/slackyd/slackyd.SlackBuild
+++ b/system/slackyd/slackyd.SlackBuild
@@ -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 \