aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 09:11:07 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit1ce513f4b764e60250fb09ec4672c4d510cb29fa (patch)
tree1568285c0e64cb51dc3699a8b34a22f5fbdd73f7 /games
parent0ed0f39e6356807a5bbcd1e1b280f18b66a3e25b (diff)
games/wesnoth: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/wesnoth/wesnoth.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/wesnoth/wesnoth.SlackBuild b/games/wesnoth/wesnoth.SlackBuild
index 54638aa10d0c..287c418c3249 100644
--- a/games/wesnoth/wesnoth.SlackBuild
+++ b/games/wesnoth/wesnoth.SlackBuild
@@ -32,7 +32,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
@@ -45,8 +45,8 @@ OUTPUT=${OUTPUT:-/tmp}
SERVER=${SERVER:-"no"}
-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"