aboutsummaryrefslogtreecommitdiff
path: root/development/gforth
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:17:07 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:14 -0400
commit5c892b435febd5bc80a577b51594cca6b1dd4a14 (patch)
tree8b7587226ac7af7e925021cf810b81d6354daba2 /development/gforth
parent823ce7875f14f8bda5b34417c0a520de11f738a9 (diff)
development/gforth: Change i486 to i586
Diffstat (limited to 'development/gforth')
-rw-r--r--development/gforth/gforth.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/gforth/gforth.SlackBuild b/development/gforth/gforth.SlackBuild
index 45a13d25d4fb..69c12835221f 100644
--- a/development/gforth/gforth.SlackBuild
+++ b/development/gforth/gforth.SlackBuild
@@ -14,7 +14,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
@@ -32,8 +32,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"
@@ -68,7 +68,7 @@ find -L . \
MAKEFLAGS=-j1
# Fix old-style flag
-sed -i "s/-m486/-mtune=i486/g" configure.in
+sed -i "s/-m486/-mtune=i586/g" configure.in
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \