diff options
author | Brenton Earl <brent@exitstatusone.com> | 2016-12-16 17:52:35 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-12-17 06:55:51 +0700 |
commit | 00da3b1d25a67905489415a08acf9092f70322c8 (patch) | |
tree | 9ec28b065984e48ea2b55da958f695837e03f1f8 | |
parent | 5046b00cb78dc53312587d46bb98b496dbf9f506 (diff) | |
download | slackbuilds-00da3b1d25a67905489415a08acf9092f70322c8.tar.gz |
network/dsniff: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | network/dsniff/dsniff.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network/dsniff/dsniff.SlackBuild b/network/dsniff/dsniff.SlackBuild index 3b548e5b17..3fe080fd8b 100644 --- a/network/dsniff/dsniff.SlackBuild +++ b/network/dsniff/dsniff.SlackBuild @@ -31,7 +31,7 @@ TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -44,8 +44,8 @@ OUTPUT=${OUTPUT:-/tmp} DOCS="CHANGES LICENSE README TODO" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -92,7 +92,7 @@ CXXFLAGS="$SLKCFLAGS" \ make make install install_prefix=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 find $PKG/usr/man -type f -exec gzip -9 {} \; |