summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-17 19:30:56 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:22:59 -0400
commit2137fa275707518920df575043276856cc30227f (patch)
treea72a952015aad6833c13bb8d4b887e3553ce3f47
parent76593698f807b8f413bcc3953a5ff51f3f2fd723 (diff)
downloadslackbuilds-2137fa275707518920df575043276856cc30227f.tar.gz
graphics/g3dviewer.SlackBuild: Change i486 to i586
-rw-r--r--graphics/g3dviewer/g3dviewer.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/g3dviewer/g3dviewer.SlackBuild b/graphics/g3dviewer/g3dviewer.SlackBuild
index 89dc22206e..a6429b93c5 100644
--- a/graphics/g3dviewer/g3dviewer.SlackBuild
+++ b/graphics/g3dviewer/g3dviewer.SlackBuild
@@ -32,7 +32,7 @@ PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -50,8 +50,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"