network/xtables-addons: Fix for exported ARCH variable.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2017-12-27 11:51:32 +00:00 committed by Willy Sudiarto Raharjo
parent f5904528e7
commit f5370b2798

View file

@ -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