aboutsummaryrefslogtreecommitdiff
path: root/network/netsniff-ng/netsniff-ng.SlackBuild
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 /network/netsniff-ng/netsniff-ng.SlackBuild
parentdf19d939cf33c3fcc008da5bfefece137334914a (diff)
network/netsniff-ng: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/netsniff-ng/netsniff-ng.SlackBuild')
-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 21fde191a97f..90dfd7af2152 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"