aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--perl/perl-digest-sha1/perl-digest-sha1.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild
index fe82b8fb88e1..08be9474380b 100644
--- a/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild
+++ b/perl/perl-digest-sha1/perl-digest-sha1.SlackBuild
@@ -34,7 +34,7 @@ SRC_PRGNAM=Digest-SHA1
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -54,8 +54,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCFILES="fip180-1.* Changes README"
-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"