network/policyd: 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:58:18 +00:00 committed by Willy Sudiarto Raharjo
parent daeace6514
commit 6144a7c734
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -29,7 +29,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=policyd
VERSION=${VERSION:-1.82}
BUILD=${BUILD:-2}
BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -82,7 +82,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 644 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
make CFLAGS+="$SLKCFLAGS" build
make CFLAGS+="$SLKCFLAGS -fcommon" build
strip --strip-unneeded cleanup stats policyd 2> /dev/null
mkdir -p $PKG/usr/bin