summaryrefslogtreecommitdiff
path: root/python/ptpython/ptpython.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-10-02 12:06:17 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-08 08:07:20 +0700
commit34fc315adc92342d6ea578510556e81da6c1cfe7 (patch)
treeaeea64444973406a31cce32b8cbc3a891b6a30fc /python/ptpython/ptpython.SlackBuild
parenta094040a713f29b78d4e65e4cc24f0a8d0b18fed (diff)
downloadslackbuilds-34fc315adc92342d6ea578510556e81da6c1cfe7.tar.gz
python/ptpython: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/ptpython/ptpython.SlackBuild')
-rw-r--r--python/ptpython/ptpython.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/ptpython/ptpython.SlackBuild b/python/ptpython/ptpython.SlackBuild
index b11331d082..b0840f3d0a 100644
--- a/python/ptpython/ptpython.SlackBuild
+++ b/python/ptpython/ptpython.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"