aboutsummaryrefslogtreecommitdiff
path: root/network/nagios
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-01-21 10:08:00 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:44:59 -0500
commitcf574cea785729b112d6aeb3df26301d6afeca13 (patch)
treed29205fad462f70777257e88c789473fce8282a3 /network/nagios
parent305e9fd8fbf60d61a2188215b452d9f19a78f727 (diff)
network/nagios: Add a fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/nagios')
-rw-r--r--network/nagios/nagios.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/nagios/nagios.SlackBuild b/network/nagios/nagios.SlackBuild
index d19ea44f6094..97fa04990498 100644
--- a/network/nagios/nagios.SlackBuild
+++ b/network/nagios/nagios.SlackBuild
@@ -105,7 +105,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -w -Wl,--allow-multiple-definition" \
./configure \
--prefix=/usr \
--sbindir=/usr/sbin/$PRGNAM \