From 408183b5e2257e258f879e3f037fdb374ed6329d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 16:41:19 -0400 Subject: [PATCH] games/antimicro: i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- games/antimicro/antimicro.SlackBuild | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/games/antimicro/antimicro.SlackBuild b/games/antimicro/antimicro.SlackBuild index 3a18b86f86..29ef09fb43 100644 --- a/games/antimicro/antimicro.SlackBuild +++ b/games/antimicro/antimicro.SlackBuild @@ -18,7 +18,7 @@ MANDIR=${MANDIR:-/usr/man} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -29,8 +29,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" @@ -73,7 +73,6 @@ cd .. find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -# Compress man pages mkdir -p $PKG/$MANDIR mv $PKG/usr/share/man/man1 $PKG/$MANDIR rm -rf $PKG/usr/share/man