aboutsummaryrefslogtreecommitdiff
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
commit18e54944876186a7bb080eb308d2ac831d2eda06 (patch)
treef7d2546ee4e74ad75f1626a14c4facd0cf09f8a9
parentfc6438e77f2a108d898532fcc5bec4ced73d62e7 (diff)
system/nomarch: Change i486 to i586
-rw-r--r--system/nomarch/nomarch.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/nomarch/nomarch.SlackBuild b/system/nomarch/nomarch.SlackBuild
index 03fb7bc13a12..6e468646a0ac 100644
--- a/system/nomarch/nomarch.SlackBuild
+++ b/system/nomarch/nomarch.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
@@ -52,8 +52,8 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="ChangeLog COPYING NEWS README TODO"
-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