summaryrefslogtreecommitdiff
path: root/games/ioquake3/ioquake3.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2017-03-24 20:45:34 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 00:07:32 +0000
commit2336411606176231a957af2227c8eae05b788610 (patch)
tree2741420d6e8ae65908be44129b631543f803627a /games/ioquake3/ioquake3.SlackBuild
parented50d8f1c6a1cb17b581d31705b36fd2dce8a004 (diff)
downloadslackbuilds-2336411606176231a957af2227c8eae05b788610.tar.gz
games/ioquake3: Fixed download + switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/ioquake3/ioquake3.SlackBuild')
-rw-r--r--games/ioquake3/ioquake3.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/ioquake3/ioquake3.SlackBuild b/games/ioquake3/ioquake3.SlackBuild
index cea80ebc8a..22cf7b60a6 100644
--- a/games/ioquake3/ioquake3.SlackBuild
+++ b/games/ioquake3/ioquake3.SlackBuild
@@ -33,7 +33,7 @@ TAG=${TAG:-_SBo}
# here and let the Makefile set the ARCH.
if [ -z "$BARCH" ]; then
case "$( uname -m )" in
- i?86) export BARCH=i486 ;;
+ i?86) export BARCH=i586 ;;
arm*) export BARCH=arm ;;
*) export BARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$BARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$BARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$BARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"