summaryrefslogtreecommitdiffstats
path: root/perl
diff options
context:
space:
mode:
author fourtysixandtwo2022-03-19 03:52:46 +0100
committer B. Watson2022-06-07 08:23:40 +0200
commit0b348eba8cac700d8a7442e604184882a8045128 (patch)
treef25db8a6fe9b9a82926b319641f8bcdc831cb292 /perl
parentf682991d697881960a49982c259e1bfbb088762d (diff)
downloadslackbuilds-0b348eba8cac700d8a7442e604184882a8045128.tar.gz
perl/perl-Test-Exception: Change i486 to i586
Diffstat (limited to 'perl')
-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 c96a8abf67..3390e61cb2 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