summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-10-13 13:20:23 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-15 07:09:48 +0700
commit7885cc882d818dbf83a23103270130e225ef8d13 (patch)
tree689f7af08d7ddd94b887a6af19c65c582492cb82
parentba7e334034983a552c03ac3eff8d7854d7760fcf (diff)
downloadslackbuilds-7885cc882d818dbf83a23103270130e225ef8d13.tar.gz
python/wcwidth: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/wcwidth/wcwidth.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/wcwidth/wcwidth.SlackBuild b/python/wcwidth/wcwidth.SlackBuild
index 47c82d7f0f..d05cd85a3f 100644
--- a/python/wcwidth/wcwidth.SlackBuild
+++ b/python/wcwidth/wcwidth.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"