summaryrefslogtreecommitdiff
path: root/system/srm
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:31 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:53 -0400
commit4ebddc37a6083b4930cd47c149352eb9c7e71fc0 (patch)
treeec6832ac674ca80451f0ae636ac917f29b8aa7af /system/srm
parent37eb70f4cba7a93eb13aaaa015d3c78c5fffd228 (diff)
downloadslackbuilds-4ebddc37a6083b4930cd47c149352eb9c7e71fc0.tar.gz
system/srm: Change i486 to i586
Diffstat (limited to 'system/srm')
-rw-r--r--system/srm/srm.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/srm/srm.SlackBuild b/system/srm/srm.SlackBuild
index 17bb7afcff..8daa24dd24 100644
--- a/system/srm/srm.SlackBuild
+++ b/system/srm/srm.SlackBuild
@@ -35,7 +35,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
@@ -53,8 +53,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"