aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-17 23:35:17 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:01 -0400
commita485ce3e914838f795e59a2a4fd39422f816e662 (patch)
tree86513b272a40fe29e4cc2043a964ab0f82b7b13a /ham
parentf7cdc0d6227124f3369bbd8ecfff0b547a68416e (diff)
ham/nec2c: Change i486 to i586
Diffstat (limited to 'ham')
-rw-r--r--ham/nec2c/nec2c.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/ham/nec2c/nec2c.SlackBuild b/ham/nec2c/nec2c.SlackBuild
index bd1bc3333422..b524b536e2a9 100644
--- a/ham/nec2c/nec2c.SlackBuild
+++ b/ham/nec2c/nec2c.SlackBuild
@@ -30,7 +30,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
@@ -48,8 +48,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"