aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:23 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:49 -0400
commit89a2cb8ba4a4a8606a0f89c62cf515054ee2e0ef (patch)
tree81ea0fb9da9db7872670c2ac20f87fbb07c86be9 /system
parent8eafecf3207998779aa42127c134a205d614c0f1 (diff)
system/heirloom-sh: Change i486 to i586
Diffstat (limited to 'system')
-rw-r--r--system/heirloom-sh/heirloom-sh.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/heirloom-sh/heirloom-sh.SlackBuild b/system/heirloom-sh/heirloom-sh.SlackBuild
index 7d23f2cee289b..b805981e575f7 100644
--- a/system/heirloom-sh/heirloom-sh.SlackBuild
+++ b/system/heirloom-sh/heirloom-sh.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"