aboutsummaryrefslogtreecommitdiff
path: root/system/john
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:24 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:50 -0400
commita0229ad77b40b4aaeb0b7bc01af8e605e5c3aefc (patch)
tree6d36384c96282939cf5abb2992f1dc52c4abdce4 /system/john
parent6c4da4f882a36e7b774ee02c754fb66022937624 (diff)
system/john: Change i486 to i586
Diffstat (limited to 'system/john')
-rw-r--r--system/john/john.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/john/john.SlackBuild b/system/john/john.SlackBuild
index 9b361d91c46b..d2ffb238e9a9 100644
--- a/system/john/john.SlackBuild
+++ b/system/john/john.SlackBuild
@@ -23,7 +23,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
@@ -41,7 +41,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
+if [ "$ARCH" = "i586" ]; then
if grep -q ^flags.*avx /proc/cpuinfo; then
TARGET=linux-x86-avx
elif grep -q ^flags.*sse2 /proc/cpuinfo; then