aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-JSON
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:41 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:37 -0400
commit0f37569a2be223e3959d34e7d33ca549b6c26820 (patch)
tree875b30d24ae8490a29860c8976fc4dc16a4312a3 /perl/perl-JSON
parenta665d0776686ddf7529b3adabbd13ae6a56cdab8 (diff)
perl/perl-JSON: Change i486 to i586
Diffstat (limited to 'perl/perl-JSON')
-rw-r--r--perl/perl-JSON/perl-JSON.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-JSON/perl-JSON.SlackBuild b/perl/perl-JSON/perl-JSON.SlackBuild
index 4c61f64cf10f9..890074a27e68a 100644
--- a/perl/perl-JSON/perl-JSON.SlackBuild
+++ b/perl/perl-JSON/perl-JSON.SlackBuild
@@ -37,7 +37,7 @@ SRCNAM=JSON
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -55,8 +55,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"