aboutsummaryrefslogtreecommitdiff
path: root/office/gocr
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:49:47 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:33 -0400
commita7f3ad1b43477bf2d58f0e2cc2972ebf3bd11715 (patch)
treebbb922755a9d6982ed11824c16d6ca088d13c17f /office/gocr
parent57d36d7d86f4ad28c2d6293301b4b691d0062b7d (diff)
office/gocr: Change i486 to i586
Diffstat (limited to 'office/gocr')
-rw-r--r--office/gocr/gocr.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/office/gocr/gocr.SlackBuild b/office/gocr/gocr.SlackBuild
index db6435a92f638..866cae21ef051 100644
--- a/office/gocr/gocr.SlackBuild
+++ b/office/gocr/gocr.SlackBuild
@@ -35,7 +35,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
@@ -53,8 +53,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"