summaryrefslogtreecommitdiff
path: root/python/python-qrcode
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 21:17:47 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit4673771ff8a2a3db7328bc0c96bf9de95a555904 (patch)
tree0ad0019a9efd563f0fecd2e53da4d2615485c145 /python/python-qrcode
parentc2dfee92203e1e5af734faa68a3ea1804a6f389a (diff)
downloadslackbuilds-4673771ff8a2a3db7328bc0c96bf9de95a555904.tar.gz
python/python-qrcode: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python-qrcode')
-rw-r--r--python/python-qrcode/python-qrcode.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/python-qrcode/python-qrcode.SlackBuild b/python/python-qrcode/python-qrcode.SlackBuild
index 4abccfd2c3..5bd9cb9da2 100644
--- a/python/python-qrcode/python-qrcode.SlackBuild
+++ b/python/python-qrcode/python-qrcode.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"