summaryrefslogtreecommitdiff
path: root/system/hardinfo
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
commit4acef7cbdca93a37956498e812a5f2c36e7631ca (patch)
tree1f93a299756e7ef0f534fccc2d7025d6712085b1 /system/hardinfo
parent98537fa65e9fdf276e42dd16b0541f0ada6bb96b (diff)
downloadslackbuilds-4acef7cbdca93a37956498e812a5f2c36e7631ca.tar.gz
system/hardinfo: Change i486 to i586
Diffstat (limited to 'system/hardinfo')
-rw-r--r--system/hardinfo/hardinfo.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/hardinfo/hardinfo.SlackBuild b/system/hardinfo/hardinfo.SlackBuild
index 2bd149c11f..bce97da754 100644
--- a/system/hardinfo/hardinfo.SlackBuild
+++ b/system/hardinfo/hardinfo.SlackBuild
@@ -31,7 +31,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
@@ -49,8 +49,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"