aboutsummaryrefslogtreecommitdiff
path: root/python/PySDL2
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-27 04:26:32 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-10-01 07:28:39 +0700
commite95e97491c8f764d1a7d01e180f85961c82130d8 (patch)
treecc7a7153a2645b9d0347fd4579b87980b8f2f75a /python/PySDL2
parent07ee48d22c516d9670e49194cc156552f1cba045 (diff)
python/PySDL2: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'python/PySDL2')
-rw-r--r--python/PySDL2/PySDL2.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/PySDL2/PySDL2.SlackBuild b/python/PySDL2/PySDL2.SlackBuild
index e534d624fc93..4c705f1134d6 100644
--- a/python/PySDL2/PySDL2.SlackBuild
+++ b/python/PySDL2/PySDL2.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"