aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:21 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:48 -0400
commit968542d891fb8bc845d8f8c4531ccc2002614c7c (patch)
tree48e6e86d68577aaf7cc6dad152b2f1ac75429671 /system
parent40f955e85939925905d5c7aec373dc0aa2721d7d (diff)
system/diskscan: Change i486 to i586
Diffstat (limited to 'system')
-rw-r--r--system/diskscan/diskscan.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/diskscan/diskscan.SlackBuild b/system/diskscan/diskscan.SlackBuild
index 3c5dc321a523f..48cde7f318e80 100644
--- a/system/diskscan/diskscan.SlackBuild
+++ b/system/diskscan/diskscan.SlackBuild
@@ -15,7 +15,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
@@ -33,8 +33,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"