summaryrefslogtreecommitdiff
path: root/system/cpmtools/cpmtools.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-19 05:00:25 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commit23dd60b546e83883a36498260d305e2a39273e8e (patch)
tree828e7ccf5a95b871f7584017c3d6319ed748e766 /system/cpmtools/cpmtools.SlackBuild
parent61622bd03f5b930f75b01862a83ded48380edc4a (diff)
downloadslackbuilds-23dd60b546e83883a36498260d305e2a39273e8e.tar.gz
system/cpmtools: i486 => i586.
Diffstat (limited to 'system/cpmtools/cpmtools.SlackBuild')
-rw-r--r--system/cpmtools/cpmtools.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/cpmtools/cpmtools.SlackBuild b/system/cpmtools/cpmtools.SlackBuild
index 03f7cee4c6..81265004e5 100644
--- a/system/cpmtools/cpmtools.SlackBuild
+++ b/system/cpmtools/cpmtools.SlackBuild
@@ -13,7 +13,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
@@ -24,8 +24,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"