aboutsummaryrefslogtreecommitdiff
path: root/system/slackyd
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-08 09:53:00 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:58:04 -0500
commitc354f942e122002a90ff1b82c6a639b23396fd95 (patch)
tree5aa74fabb926675b4a9061da080c83107a9e0a79 /system/slackyd
parent72c02c64ccd1b1b951f8e44cc65f054941798030 (diff)
system/slackyd: Add a fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/slackyd')
-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 e02d19902ca5..7eeac5a7420f 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 \