aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-17 19:30:57 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:00 -0400
commita495c4867e2f698be9cfc8b46260a0027b7cf87c (patch)
treeecd2d0804398eb3bb4dc0189f902a246cb9a9869 /graphics
parent0be5856911dea7e508f10fa27b69204b2fa1b371 (diff)
graphics/ldglite.SlackBuild: Change i486 to i586
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ldglite/ldglite.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/ldglite/ldglite.SlackBuild b/graphics/ldglite/ldglite.SlackBuild
index eba610fa7184c..f037b4efb8d12 100644
--- a/graphics/ldglite/ldglite.SlackBuild
+++ b/graphics/ldglite/ldglite.SlackBuild
@@ -37,7 +37,7 @@ SRCVERSION=$(echo $VERSION | tr . _)
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -56,8 +56,8 @@ PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
# We cannot use -O2 - compilation will crash
-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"