summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-22 15:12:31 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:05:14 +0700
commit12758a5cdbb81b77ff0177e56ed74d3a370d3a1e (patch)
treec64a639b938df8e223f228818afc0689efe79735
parent22339d7b600c89a010e97e2deb869f35996d4bc8 (diff)
downloadslackbuilds-12758a5cdbb81b77ff0177e56ed74d3a370d3a1e.tar.gz
games/mars: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
-rw-r--r--games/mars/mars.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/mars/mars.SlackBuild b/games/mars/mars.SlackBuild
index 9db950fd9a..13e6d54b2f 100644
--- a/games/mars/mars.SlackBuild
+++ b/games/mars/mars.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for M.A.R.S.
-# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
+# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +31,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
@@ -42,8 +42,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"