graphics/povray.SlackBuild: Change i486 to i586

This commit is contained in:
fourtysixandtwo 2022-03-17 19:30:58 -06:00 committed by B. Watson
parent 89db270a0b
commit 150ed1b3df

View file

@ -42,7 +42,7 @@ SHORTVER=$( echo $VERSION | cut -f1-2 -d. )
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -61,8 +61,8 @@ OUTPUT=${OUTPUT:-/tmp}
POVRAY_BUILDER=${POVRAY_BUILDER:-"$(whoami) on $(hostname)"}
# povray prefers -O3 to build, so we do not use the -O2 flag
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-march=i686 -mtune=i686"