summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Hansen <jebrhansen+SBo -at- gmail.com>2017-01-23 16:54:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-24 07:23:04 +0700
commitc383c4851dd4e323798f9e9a9375e1d739dd053d (patch)
tree73eb6343519261c48199404adf7ad42fbae80c71
parent6f29971acbd875000f257bf15939583c17a20680 (diff)
downloadslackbuilds-c383c4851dd4e323798f9e9a9375e1d739dd053d.tar.gz
libraries/python3-PyYAML: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/python3-PyYAML/python3-PyYAML.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/python3-PyYAML/python3-PyYAML.SlackBuild b/libraries/python3-PyYAML/python3-PyYAML.SlackBuild
index 455d8dfb10..122e48a60e 100644
--- a/libraries/python3-PyYAML/python3-PyYAML.SlackBuild
+++ b/libraries/python3-PyYAML/python3-PyYAML.SlackBuild
@@ -32,7 +32,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
@@ -43,8 +43,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"