network/packETH: Add -fcommon to CFLAGS.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2022-02-25 20:53:27 +00:00 committed by Willy Sudiarto Raharjo
parent d32d610a88
commit ef152f7660
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=packETH
VERSION=${VERSION:-2.1}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -84,7 +84,7 @@ sed -i "s|\ -Werror||" cli/Makefile
sed -i 's/^LIBS=/LIBS+=/' Makefile.am
autoreconf -f -i
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fcommon" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \