summaryrefslogtreecommitdiffstats
path: root/system/fxload/fxload.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/fxload/fxload.SlackBuild')
-rw-r--r--system/fxload/fxload.SlackBuild6
1 files changed, 2 insertions, 4 deletions
diff --git a/system/fxload/fxload.SlackBuild b/system/fxload/fxload.SlackBuild
index 8da72dea6d..17bdac9671 100644
--- a/system/fxload/fxload.SlackBuild
+++ b/system/fxload/fxload.SlackBuild
@@ -27,12 +27,10 @@ VERSION=${VERSION:-2008_10_13}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -56,7 +54,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -72,7 +70,7 @@ find . \
-exec chmod 644 {} \;
RPM_OPT_FLAGS="$SLKCFLAGS" make
-make install prefix=$PKG
+make install prefix=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true