aboutsummaryrefslogtreecommitdiff
path: root/libraries/lua-zlib/lua-zlib.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:30 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:24:02 -0400
commitcda2a4e33653ded1e788e8bf195ec07f46f6ce8b (patch)
treed18186be3d4d4ab7aba98ab3b36ed3e9b488797c /libraries/lua-zlib/lua-zlib.SlackBuild
parent2ce897a85de4544af0d6f877524396805b74ed6e (diff)
libraries/lua-zlib: Change i486 to i586
Diffstat (limited to 'libraries/lua-zlib/lua-zlib.SlackBuild')
-rw-r--r--libraries/lua-zlib/lua-zlib.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/lua-zlib/lua-zlib.SlackBuild b/libraries/lua-zlib/lua-zlib.SlackBuild
index f83ed49272ec..82e6628f0bb1 100644
--- a/libraries/lua-zlib/lua-zlib.SlackBuild
+++ b/libraries/lua-zlib/lua-zlib.SlackBuild
@@ -33,7 +33,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
@@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-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"