summaryrefslogtreecommitdiff
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
commit218757dafcb7139ba1eb95523ba87d5c99f75033 (patch)
tree6ef8a625090c8b382fd85421accb34ab4d3848de
parent0bf1d2b93bc47752aac26a31dcaee404d4afa84e (diff)
downloadslackbuilds-218757dafcb7139ba1eb95523ba87d5c99f75033.tar.gz
graphics/tkpng.SlackBuild: Change i486 to i586
-rw-r--r--graphics/tkpng/tkpng.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/graphics/tkpng/tkpng.SlackBuild b/graphics/tkpng/tkpng.SlackBuild
index 5be7117ced..1ba48ceaf6 100644
--- a/graphics/tkpng/tkpng.SlackBuild
+++ b/graphics/tkpng/tkpng.SlackBuild
@@ -17,7 +17,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
@@ -35,8 +35,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"