aboutsummaryrefslogtreecommitdiff
path: root/network/packETH/packETH.SlackBuild
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2016-10-25 14:44:13 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-25 14:44:13 +0700
commit3d2515f449d271f922e05b09d96f60b27653f0b0 (patch)
treec876573292e81b936b16f3481b18252bfba64357 /network/packETH/packETH.SlackBuild
parentc459f09ba330c7f36db7a0b4f30b680a877256db (diff)
network/packETH: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/packETH/packETH.SlackBuild')
-rw-r--r--network/packETH/packETH.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/network/packETH/packETH.SlackBuild b/network/packETH/packETH.SlackBuild
index 8148a7eb462e..d6e1108b55c6 100644
--- a/network/packETH/packETH.SlackBuild
+++ b/network/packETH/packETH.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"