summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-01 21:12:11 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-03 16:25:41 +0700
commit105ebbe6765c170b3fbb9fc9f6fb14134b6ec6f1 (patch)
treeaddd3b1a24c6fb5813bd6e67f91b9ad8ade9fed2
parent19581052a3364084524d58c51515955603d75c3d (diff)
downloadslackbuilds-105ebbe6765c170b3fbb9fc9f6fb14134b6ec6f1.tar.gz
network/linksys-tftp: Add -fcommon to CFLAGS.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/linksys-tftp/linksys-tftp.SlackBuild5
1 files changed, 3 insertions, 2 deletions
diff --git a/network/linksys-tftp/linksys-tftp.SlackBuild b/network/linksys-tftp/linksys-tftp.SlackBuild
index 75ad5da250..b6a51cdd74 100644
--- a/network/linksys-tftp/linksys-tftp.SlackBuild
+++ b/network/linksys-tftp/linksys-tftp.SlackBuild
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=linksys-tftp
VERSION=${VERSION:-1.2.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -69,7 +69,8 @@ find -L . \
(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-Makefile.patch) | patch -b -p1
(echo " " && cat $CWD/linksys-tftp-1.2.1-r1-header.patch) | patch -b -p1
-make
+CFLAGS="$SLKCFLAGS -fcommon" \
+ make
install -D -m755 -t $PKG/usr/bin/ linksys-tftp