aboutsummaryrefslogtreecommitdiff
path: root/games/ioquake3/ioquake3.SlackBuild
diff options
context:
space:
mode:
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 cea80ebc8a17..22cf7b60a6bf 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"