summaryrefslogtreecommitdiff
path: root/games/nethack/nethack.SlackBuild
diff options
context:
space:
mode:
authorGlenn Becker <glenn.becker@gmail.com>2018-02-10 20:29:20 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-02-17 07:42:50 +0700
commit17206d99f380c9683577ea38a0e76f09a056478e (patch)
tree7b26d1aac9f86a53f5e34ec80a188d42d7d80e4d /games/nethack/nethack.SlackBuild
parentaafba8b16bbd788bcff350c3c74839faa943e52a (diff)
downloadslackbuilds-17206d99f380c9683577ea38a0e76f09a056478e.tar.gz
games/nethack: Switch to i586, fix maintainer typo.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'games/nethack/nethack.SlackBuild')
-rw-r--r--games/nethack/nethack.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/nethack/nethack.SlackBuild b/games/nethack/nethack.SlackBuild
index 9b3d9b5e8e..6ce6dadc39 100644
--- a/games/nethack/nethack.SlackBuild
+++ b/games/nethack/nethack.SlackBuild
@@ -14,7 +14,7 @@ SRCVER=${SRCVER:-360}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -25,8 +25,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"