aboutsummaryrefslogtreecommitdiff
path: root/system/maintboot
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:26 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:50 -0400
commit1ac8d2f5c4d672e08fca7cdce2341298ae1b667c (patch)
tree5fc7331f27a720ec935c2f9818046e3f57ab5c8a /system/maintboot
parented8856be883d6fc5f38b270e0049cf2b2bbd70ba (diff)
system/maintboot: Change i486 to i586
Diffstat (limited to 'system/maintboot')
-rw-r--r--system/maintboot/maintboot.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/maintboot/maintboot.SlackBuild b/system/maintboot/maintboot.SlackBuild
index 5c89de60c25b0..00bbd020d4d4a 100644
--- a/system/maintboot/maintboot.SlackBuild
+++ b/system/maintboot/maintboot.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"