aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:45 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:40 -0400
commit44521e137d596867dd8bfa507baa99b0ae575e33 (patch)
treea6599d4cb2a86e52857bcc6bd1254a031b84923a
parentc43bfd120e00d9cbd66f3c9d99ec28cc41488698 (diff)
perl/perl-Sub-Install: Change i486 to i586
-rw-r--r--perl/perl-Sub-Install/perl-Sub-Install.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild
index 9726fb62f1c7d..5430128272a50 100644
--- a/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild
+++ b/perl/perl-Sub-Install/perl-Sub-Install.SlackBuild
@@ -37,7 +37,7 @@ SRCNAM=Sub-Install
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"