aboutsummaryrefslogtreecommitdiff
path: root/system/ncdu
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:27 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:51 -0400
commitae8476a64a970edc40cfa398b6d3f9903e68e8f0 (patch)
tree69fc8abb677aa16c27f55ac8cd34c749481f9ce4 /system/ncdu
parent3e43e48184d7053b042f02bb1b96ad86397fa3f8 (diff)
system/ncdu: Change i486 to i586
Diffstat (limited to 'system/ncdu')
-rw-r--r--system/ncdu/ncdu.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/ncdu/ncdu.SlackBuild b/system/ncdu/ncdu.SlackBuild
index 35fce4259059e..82337ff7d1cd7 100644
--- a/system/ncdu/ncdu.SlackBuild
+++ b/system/ncdu/ncdu.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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then