aboutsummaryrefslogtreecommitdiff
path: root/perl/perl-Sub-Override
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
commit19f3d50b9416efb43087d46e54c143ad5d86f65b (patch)
tree52858d1137c21d39f9c3a46705ec505d1c399b4c /perl/perl-Sub-Override
parent44521e137d596867dd8bfa507baa99b0ae575e33 (diff)
perl/perl-Sub-Override: Change i486 to i586
Diffstat (limited to 'perl/perl-Sub-Override')
-rw-r--r--perl/perl-Sub-Override/perl-Sub-Override.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild b/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild
index 460ecab82a8c6..e997769f1c14f 100644
--- a/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild
+++ b/perl/perl-Sub-Override/perl-Sub-Override.SlackBuild
@@ -35,7 +35,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
@@ -53,8 +53,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"