summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-17 19:30:58 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:00 -0400
commit150ed1b3df3c3ed8ee54fac7263d1018a767b2ca (patch)
tree6f29a3761bca7a76b6caab4e745ada3bf14a5d6f /graphics
parent89db270a0bfd4419d77b935f3acf3600c6e5bb8a (diff)
downloadslackbuilds-150ed1b3df3c3ed8ee54fac7263d1018a767b2ca.tar.gz
graphics/povray.SlackBuild: Change i486 to i586
Diffstat (limited to 'graphics')
-rw-r--r--graphics/povray/povray.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/povray/povray.SlackBuild b/graphics/povray/povray.SlackBuild
index fd34e5b921..546e6e2b08 100644
--- a/graphics/povray/povray.SlackBuild
+++ b/graphics/povray/povray.SlackBuild
@@ -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"