aboutsummaryrefslogtreecommitdiff
path: root/system/prelink
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:29 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:52 -0400
commit9b4fe9fd30eb6ac4170198b87e0a80b83bb050dd (patch)
treea9d435c2c408bf0ba7117d9233d85c14ceff15c5 /system/prelink
parentaa58adef2348ec8edd381a5477d70c63b53103fe (diff)
system/prelink: Change i486 to i586
Diffstat (limited to 'system/prelink')
-rw-r--r--system/prelink/prelink.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/prelink/prelink.SlackBuild b/system/prelink/prelink.SlackBuild
index a2e6bddc26a4b..764b6975eb5ad 100644
--- a/system/prelink/prelink.SlackBuild
+++ b/system/prelink/prelink.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"