summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-27 04:24:42 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:28:39 +0700
commit07ee48d22c516d9670e49194cc156552f1cba045 (patch)
tree7281c19a599b28b410042fa8763537109ca6dc8c
parente7e8dee2b2c840d392c23da3130b78efb606c2ed (diff)
downloadslackbuilds-07ee48d22c516d9670e49194cc156552f1cba045.tar.gz
python/functools32: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--python/functools32/functools32.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/functools32/functools32.SlackBuild b/python/functools32/functools32.SlackBuild
index 71dbc56ae1..b61713311e 100644
--- a/python/functools32/functools32.SlackBuild
+++ b/python/functools32/functools32.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for functools32
-# Copyright 2015 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2015-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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"