aboutsummaryrefslogtreecommitdiff
path: root/system/preload
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2021-05-03 00:28:43 -0500
committerRobby Workman <rworkman@slackbuilds.org>2021-05-03 00:28:43 -0500
commit71bb44185d455a647e6c7ff1ed3c996ec62b9d06 (patch)
treedc5ca925aecc832dd63b1a9b32c94cdc24272f59 /system/preload
parent0a36519baa92b3e317770611d5308d5900c11a27 (diff)
system/preload: s,i486,i586,g
Diffstat (limited to 'system/preload')
-rw-r--r--system/preload/preload.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/preload/preload.SlackBuild b/system/preload/preload.SlackBuild
index 3dc7c9bb7dd59..301b79b1a647c 100644
--- a/system/preload/preload.SlackBuild
+++ b/system/preload/preload.SlackBuild
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,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"