aboutsummaryrefslogtreecommitdiff
path: root/system/foremost
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:22 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:49 -0400
commit9340b163c84648d365778077227901edf9fc8a1e (patch)
treef9ab2ebb9c2aec69cfbb85dc6a0f93c209f1ca8b /system/foremost
parent0c4e8e86e3240f59705b8e48896becc74523bdd6 (diff)
system/foremost: Change i486 to i586
Diffstat (limited to 'system/foremost')
-rw-r--r--system/foremost/foremost.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/foremost/foremost.SlackBuild b/system/foremost/foremost.SlackBuild
index f3c2a1857a9d6..a22dec9eab2e7 100644
--- a/system/foremost/foremost.SlackBuild
+++ b/system/foremost/foremost.SlackBuild
@@ -13,7 +13,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
@@ -31,8 +31,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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then