aboutsummaryrefslogtreecommitdiff
path: root/libraries/libsmi/libsmi.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:26 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:24:01 -0400
commit795069925dd30d791ce11345f281af46bcfb67be (patch)
treeadbf63faa0c2dc417e1784e31a11829d56760b8f /libraries/libsmi/libsmi.SlackBuild
parent164f171aadaed737ddab803a9444e5e5ec9a5a29 (diff)
libraries/libsmi: Change i486 to i586
Diffstat (limited to 'libraries/libsmi/libsmi.SlackBuild')
-rw-r--r--libraries/libsmi/libsmi.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libsmi/libsmi.SlackBuild b/libraries/libsmi/libsmi.SlackBuild
index a7eee2ba7de39..ae2b07956f72d 100644
--- a/libraries/libsmi/libsmi.SlackBuild
+++ b/libraries/libsmi/libsmi.SlackBuild
@@ -14,7 +14,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -32,8 +32,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"