summaryrefslogtreecommitdiff
path: root/system/yelp-tools/yelp-tools.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 10:14:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit8f8bf51d0e6157b1f9cf068908ac298502f8d24e (patch)
tree7e03f6611f2fc1ed0e9b42327f7235a13a8ea898 /system/yelp-tools/yelp-tools.SlackBuild
parent5b958840cabc30a95e272924bbc052e0565957f8 (diff)
downloadslackbuilds-8f8bf51d0e6157b1f9cf068908ac298502f8d24e.tar.gz
system/yelp-tools: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/yelp-tools/yelp-tools.SlackBuild')
-rw-r--r--system/yelp-tools/yelp-tools.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/yelp-tools/yelp-tools.SlackBuild b/system/yelp-tools/yelp-tools.SlackBuild
index fd708a62b8..8acb722736 100644
--- a/system/yelp-tools/yelp-tools.SlackBuild
+++ b/system/yelp-tools/yelp-tools.SlackBuild
@@ -29,7 +29,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
@@ -40,8 +40,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"