summaryrefslogtreecommitdiff
path: root/system/blocks
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:19 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:47 -0400
commitc0a634d3026417c08ab31ab878587576ea909e72 (patch)
treea60f3012ee8b1e4e224681ae830708cf8121d52f /system/blocks
parent9ddc6043f6e5b7fdbec8e5436eeb1de6d1cc3bce (diff)
downloadslackbuilds-c0a634d3026417c08ab31ab878587576ea909e72.tar.gz
system/blocks: Change i486 to i586
Diffstat (limited to 'system/blocks')
-rw-r--r--system/blocks/blocks.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/blocks/blocks.SlackBuild b/system/blocks/blocks.SlackBuild
index 16c8785ad9..459b969f01 100644
--- a/system/blocks/blocks.SlackBuild
+++ b/system/blocks/blocks.SlackBuild
@@ -33,7 +33,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
@@ -51,8 +51,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"