aboutsummaryrefslogtreecommitdiff
path: root/network/fdns
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-02-25 20:09:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-27 01:09:52 +0700
commit5addfc0d1f31950067121ee10c4ba27f53140664 (patch)
treefb8f2646fb88233398526325458e33ff22a59ffd /network/fdns
parent982496a0d26bfab55376072c1553aabc9e0d3be2 (diff)
network/fdns: Add -fcommon to CFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/fdns')
-rw-r--r--network/fdns/fdns.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/network/fdns/fdns.SlackBuild b/network/fdns/fdns.SlackBuild
index 7d92dec628d72..e66ace8dfbdaf 100644
--- a/network/fdns/fdns.SlackBuild
+++ b/network/fdns/fdns.SlackBuild
@@ -27,7 +27,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=fdns
VERSION=${VERSION:-0.9.62}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -92,6 +92,8 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux
sed -i "s|lib/fdns|lib${LIBDIRSUFFIX}/fdns|" Makefile
+CFLAGS="$SLKCFLAGS -fcommon" \
+CXXFLAGS="$SLKCFLAGS -fcommon" \
make
make install DESTDIR=$PKG