network/packit: Add -fcommon to CFLAGS.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2022-02-26 23:33:57 +00:00 committed by Robby Workman
parent 2645c31433
commit 258ffdc11c

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=packit
VERSION=${VERSION:-1.0}
BUILD=${BUILD:-3}
BUILD=${BUILD:-4}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -86,7 +86,7 @@ for i in $CWD/patches/*.patch; do
patch -p1 --verbose < "$i"
done
CFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \