aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:48 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:41 -0400
commit7946087f2b0565790346c12e7c8db5d133cb4f72 (patch)
treeacff599b92d22c6113e4700442f164e132dd9265
parent95a470a1dd6f4670fd7682557e85e16ab83b080d (diff)
perl/perl-Text-Diff: Change i486 to i586
-rw-r--r--perl/perl-Text-Diff/perl-Text-Diff.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild b/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild
index 324665e5acc8..3fc4035ddf95 100644
--- a/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild
+++ b/perl/perl-Text-Diff/perl-Text-Diff.SlackBuild
@@ -12,7 +12,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -30,8 +30,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"