summaryrefslogtreecommitdiff
path: root/system/paxctl
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:28 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:52 -0400
commit65da6bd9801c56e0d8bf015e799330e899ab578a (patch)
tree4a4fd957cce716937e083a7c43b3861958a7ad4e /system/paxctl
parent5b6324c45968694dc47285a1b53238ea38ae2406 (diff)
downloadslackbuilds-65da6bd9801c56e0d8bf015e799330e899ab578a.tar.gz
system/paxctl: Change i486 to i586
Diffstat (limited to 'system/paxctl')
-rw-r--r--system/paxctl/paxctl.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/paxctl/paxctl.SlackBuild b/system/paxctl/paxctl.SlackBuild
index 1644fc5a44..71d16d5b3e 100644
--- a/system/paxctl/paxctl.SlackBuild
+++ b/system/paxctl/paxctl.SlackBuild
@@ -15,7 +15,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
@@ -33,8 +33,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"