aboutsummaryrefslogtreecommitdiff
path: root/misc/boxes
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:33:19 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:22 -0400
commite6bd1eb96d14a60cd03205c12396733f87d3eff7 (patch)
treedae51b2bb518849e3475a65f508d5729f70c561d /misc/boxes
parent9b6f24c15315368730252e561195c53f8fa2f91d (diff)
misc/boxes: Change i486 to i586
Diffstat (limited to 'misc/boxes')
-rw-r--r--misc/boxes/boxes.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/boxes/boxes.SlackBuild b/misc/boxes/boxes.SlackBuild
index 5e9e0d93e4b24..be62ad7ae12e3 100644
--- a/misc/boxes/boxes.SlackBuild
+++ b/misc/boxes/boxes.SlackBuild
@@ -32,7 +32,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
@@ -50,8 +50,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"