summaryrefslogtreecommitdiff
path: root/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-09-21 06:43:50 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 07:05:14 +0700
commite375b6fbe3efaa58a02edbf7f6bf021bc5a78075 (patch)
treec633dcd942d7f44f3c3305e0b50d787e30727a20 /games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
parent9faf14c8bebd1a9d66615239505969403c56d794 (diff)
downloadslackbuilds-e375b6fbe3efaa58a02edbf7f6bf021bc5a78075.tar.gz
games/assaultcube-reloaded: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild')
-rw-r--r--games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
index 0350085b36..25347df101 100644
--- a/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
+++ b/games/assaultcube-reloaded/assaultcube-reloaded.SlackBuild
@@ -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"