summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-20 23:09:52 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-22 12:08:37 +0700
commit4b39055ce4bacd170d101c0d0cf7f9eb795b6b9f (patch)
tree44b0462677241bd71ecab3d7baef7540f16c12b7
parentdf19d939cf33c3fcc008da5bfefece137334914a (diff)
downloadslackbuilds-4b39055ce4bacd170d101c0d0cf7f9eb795b6b9f.tar.gz
network/netsniff-ng: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/netsniff-ng/netsniff-ng.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/netsniff-ng/netsniff-ng.SlackBuild b/network/netsniff-ng/netsniff-ng.SlackBuild
index 21fde191a9..90dfd7af21 100644
--- a/network/netsniff-ng/netsniff-ng.SlackBuild
+++ b/network/netsniff-ng/netsniff-ng.SlackBuild
@@ -29,7 +29,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
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"