network/hping3: Pass -fcommon for gcc >= 10.x.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2020-05-09 19:21:09 +02:00 committed by Robby Workman
parent cd9f0715e1
commit 72747f8cfd

View file

@ -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 \