summaryrefslogtreecommitdiffstats
path: root/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2017-03-21 20:52:41 -0400
committer David Spencer <idlemoor@slackbuilds.org>2017-03-25 13:29:25 +0000
commit1a6e948f3b4e6b5f13346734c058fdd2010f0dca (patch)
treef841dd389d5994ef703e79f5b3338d3927e050f4 /perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild
parent87204fbf3b964ce02085fb436cec5463503d2f3b (diff)
downloadslackbuilds-1a6e948f3b4e6b5f13346734c058fdd2010f0dca.tar.gz
slackbuilds-1a6e948f3b4e6b5f13346734c058fdd2010f0dca.tar.xz
perl/perl-Device-SerialPort: i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild')
-rw-r--r--perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild
index ecf21aee5b..174dba5773 100644
--- a/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild
+++ b/perl/perl-Device-SerialPort/perl-Device-SerialPort.SlackBuild
@@ -31,7 +31,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,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"