aboutsummaryrefslogtreecommitdiff
path: root/python/gmpy
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-19 05:00:22 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commit916cd5333d5c7b9f740e7db0253e8f583c56058b (patch)
treed80851625976ec2956c81311384bf7c52b27a94b /python/gmpy
parent5c1c44901bb842600347c93f09559842541452a6 (diff)
python/gmpy: i486 => i586.
Diffstat (limited to 'python/gmpy')
-rw-r--r--python/gmpy/gmpy.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/gmpy/gmpy.SlackBuild b/python/gmpy/gmpy.SlackBuild
index ac0d7b6aa7fb..d819598d8ec8 100644
--- a/python/gmpy/gmpy.SlackBuild
+++ b/python/gmpy/gmpy.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"