summaryrefslogtreecommitdiff
path: root/perl
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
commit6d28c04fcbdeaefdc0e52d6045133b42b804c0d1 (patch)
tree35fdaab1c927483630ac1cf276e51a5cde0bc826 /perl
parentece5fb68b45ad912e156a5c5cfd99a39b21f91ad (diff)
downloadslackbuilds-6d28c04fcbdeaefdc0e52d6045133b42b804c0d1.tar.gz
perl/perl-NetAddr-IP: Change i486 to i586
Diffstat (limited to 'perl')
-rw-r--r--perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
index 5c6c4411f8..7ab72131f0 100644
--- a/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
+++ b/perl/perl-NetAddr-IP/perl-NetAddr-IP.SlackBuild
@@ -39,7 +39,7 @@ SRCNAM="$(printf $PRGNAM | cut -f2- -d-)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -59,8 +59,8 @@ OUTPUT=${OUTPUT:-/tmp}
set -e
-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"