aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2017-12-27 11:51:32 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-06 06:55:04 +0700
commitf5370b279872e3527f392a97f8a033f124f2c0bb (patch)
tree117c47a330d04aa594ab84947589ead4e02bbd26
parentf5904528e7efbf23b67ff61795a46cd73df8a19b (diff)
network/xtables-addons: Fix for exported ARCH variable.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/xtables-addons/xtables-addons.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild
index 1b2068e882b71..499fa91a9864f 100644
--- a/network/xtables-addons/xtables-addons.SlackBuild
+++ b/network/xtables-addons/xtables-addons.SlackBuild
@@ -81,8 +81,8 @@ CFLAGS="$SLKCFLAGS" \
--with-kbuild=/lib/modules/${KERNEL}/build \
--build=$ARCH-slackware-linux || true
-make
-make install DESTDIR=$PKG
+env -u ARCH make
+env -u ARCH make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true