summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:43 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:39 -0400
commitaeee60e891d8cbef426d1ccafafacdd92f180e98 (patch)
tree605acd5b24dcf192781d9b313d44de9d2c571981
parent0a5bd48bf827b1957cb7642cc169ddb86de6e242 (diff)
downloadslackbuilds-aeee60e891d8cbef426d1ccafafacdd92f180e98.tar.gz
perl/perl-Number-Compare: Change i486 to i586
-rw-r--r--perl/perl-Number-Compare/perl-Number-Compare.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild
index fe478f73c5..5d7affaedc 100644
--- a/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild
+++ b/perl/perl-Number-Compare/perl-Number-Compare.SlackBuild
@@ -34,7 +34,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
@@ -52,8 +52,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"