aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:23:03 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:20 -0400
commit1768e7e1b832b730a907e9c4b98269edc4e583da (patch)
treed5baf653423ccf142a8141fa0c02fd4e34434e80 /games
parentbfd2faade41349c325278e4d088647a59b748e70 (diff)
games/openttd: Change i486 to i586
Diffstat (limited to 'games')
-rw-r--r--games/openttd/openttd.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild
index 58718a2e33b7..064ce7d10481 100644
--- a/games/openttd/openttd.SlackBuild
+++ b/games/openttd/openttd.SlackBuild
@@ -38,7 +38,7 @@ OPENMSX=0.4.2
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -63,8 +63,8 @@ OUTPUT=${OUTPUT:-/tmp}
# over the original Windows data files in order for OpenTTD to run.
OPENDATA=${OPENDATA:-YES}
-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"