From 6144a7c7346931765e98880c00755dd1ef6acf99 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Fri, 25 Feb 2022 20:58:18 +0000 Subject: [PATCH] network/policyd: Add -fcommon to CFLAGS. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- network/policyd/policyd.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/policyd/policyd.SlackBuild b/network/policyd/policyd.SlackBuild index 941f59c979..4f906e0818 100644 --- a/network/policyd/policyd.SlackBuild +++ b/network/policyd/policyd.SlackBuild @@ -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