summaryrefslogtreecommitdiff
path: root/python/python-mccabe
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-10-19 14:57:49 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-22 08:47:07 +0700
commitc5c7ff66f30e01d731ad1c765cb10a07faa07d45 (patch)
tree2506bd281fb9defc20eb3a61a565e28d904a31ee /python/python-mccabe
parent2d7f4cd8119cae73b433a11fa39582ea06c43313 (diff)
downloadslackbuilds-c5c7ff66f30e01d731ad1c765cb10a07faa07d45.tar.gz
python/python-mccabe: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/python-mccabe')
-rw-r--r--python/python-mccabe/python-mccabe.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-mccabe/python-mccabe.SlackBuild b/python/python-mccabe/python-mccabe.SlackBuild
index 722bf95523..d382cf3be1 100644
--- a/python/python-mccabe/python-mccabe.SlackBuild
+++ b/python/python-mccabe/python-mccabe.SlackBuild
@@ -30,7 +30,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
@@ -41,8 +41,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"