From f5370b279872e3527f392a97f8a033f124f2c0bb Mon Sep 17 00:00:00 2001 From: David Spencer Date: Wed, 27 Dec 2017 11:51:32 +0000 Subject: [PATCH] network/xtables-addons: Fix for exported ARCH variable. Signed-off-by: David Spencer --- network/xtables-addons/xtables-addons.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/xtables-addons/xtables-addons.SlackBuild b/network/xtables-addons/xtables-addons.SlackBuild index 1b2068e882..499fa91a98 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