aboutsummaryrefslogtreecommitdiff
path: root/games/zsnes
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2016-08-19 05:00:04 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-20 07:50:03 +0700
commit5c6491b5dcdcde442d98919c05efdb03fa934252 (patch)
tree78f07271b33b497df7a5231fcee8b9dd49f5d013 /games/zsnes
parent24928eea134df3649883438eaf49f28bb0f19f07 (diff)
games/zsnes: i486 => i586.
Diffstat (limited to 'games/zsnes')
-rw-r--r--games/zsnes/zsnes.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/zsnes/zsnes.SlackBuild b/games/zsnes/zsnes.SlackBuild
index 171d487562d81..9e6f2dfad59c4 100644
--- a/games/zsnes/zsnes.SlackBuild
+++ b/games/zsnes/zsnes.SlackBuild
@@ -32,7 +32,7 @@ ZSNESDIR="_$(echo $VERSION | tr . _)"
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -43,8 +43,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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then