summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-05-09 19:21:09 +0200
committer Matteo Bernardini2020-06-28 08:29:13 +0200
commitb728f8e07309234354aa9dcec5e0c08110cc73c9 (patch)
tree8006068e99c444c53429c3875c2db1662fb213f4
parent039623ea867a44e41cbf62cada3efca35cd703b8 (diff)
downloadslackbuilds-hping3.tar.gz
network/hping3: Pass -fcommon for gcc >= 10.x.hping3
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--network/hping3/hping3.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/hping3/hping3.SlackBuild b/network/hping3/hping3.SlackBuild
index 10f08e77c6..d685005449 100644
--- a/network/hping3/hping3.SlackBuild
+++ b/network/hping3/hping3.SlackBuild
@@ -88,7 +88,7 @@ MANPATH=/usr/man ./configure \
# From Arch Linux - Adds DESTDIR to Makefile
patch -p1 --verbose < $CWD/patches/Makefile.patch
-make CCOPT="$SLKCFLAGS -DUSE_TCL"
+make CCOPT="$SLKCFLAGS -DUSE_TCL -fcommon"
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \