diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-03-18 20:23:03 -0600 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2022-06-07 02:23:20 -0400 |
commit | 1768e7e1b832b730a907e9c4b98269edc4e583da (patch) | |
tree | d5baf653423ccf142a8141fa0c02fd4e34434e80 /games | |
parent | bfd2faade41349c325278e4d088647a59b748e70 (diff) | |
download | slackbuilds-1768e7e1b832b730a907e9c4b98269edc4e583da.tar.gz |
games/openttd: Change i486 to i586
Diffstat (limited to 'games')
-rw-r--r-- | games/openttd/openttd.SlackBuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/games/openttd/openttd.SlackBuild b/games/openttd/openttd.SlackBuild index 58718a2e33..064ce7d104 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" |