aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:52:46 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:40 -0400
commit0b348eba8cac700d8a7442e604184882a8045128 (patch)
treef25db8a6fe9b9a82926b319641f8bcdc831cb292
parentf682991d697881960a49982c259e1bfbb088762d (diff)
perl/perl-Test-Exception: Change i486 to i586
-rw-r--r--perl/perl-Test-Exception/perl-Test-Exception.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
index c96a8abf6788..3390e61cb23b 100644
--- a/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
+++ b/perl/perl-Test-Exception/perl-Test-Exception.SlackBuild
@@ -37,7 +37,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
@@ -57,8 +57,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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then