aboutsummaryrefslogtreecommitdiff
path: root/system/nut/nut.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:02:28 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:51 -0400
commitd4380a0fb793d88e59ddb2031c141635713be2c5 (patch)
tree3b1c8db92564c054fe36c5f969ce897af8edc7d6 /system/nut/nut.SlackBuild
parentd50ff708b0c34432a59ed6d5ac2bb4a515e2b642 (diff)
system/nut: Change i486 to i586
Diffstat (limited to 'system/nut/nut.SlackBuild')
-rw-r--r--system/nut/nut.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nut/nut.SlackBuild b/system/nut/nut.SlackBuild
index beeed2f68ca7e..d4b19e36eec9e 100644
--- a/system/nut/nut.SlackBuild
+++ b/system/nut/nut.SlackBuild
@@ -48,7 +48,7 @@ fi
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -66,8 +66,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"