aboutsummaryrefslogtreecommitdiff
path: root/system/slpkg
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-22 15:26:20 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:05:14 +0700
commit97eaf58e2bb300cc3decbede45f4bdd6fd78b5c0 (patch)
tree39b9e842a8ab1773f57d50d92f2fdf74b3e61ee6 /system/slpkg
parentd4e190af61bd35869d9a0b5f64bd3d69fb020acc (diff)
system/slpkg: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'system/slpkg')
-rw-r--r--system/slpkg/slpkg.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/slpkg/slpkg.SlackBuild b/system/slpkg/slpkg.SlackBuild
index 3318645ffa10..f34fe20447d0 100644
--- a/system/slpkg/slpkg.SlackBuild
+++ b/system/slpkg/slpkg.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"