aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 19:01:47 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:04 -0400
commit9d1ca68119afc54b0cbb79f08b8896a15c5955ff (patch)
treea7e0f09c7b18f087b3728ca156ab51a0c734e65c /academic
parent96e65d5a5cec222c93d510c4d00298b3ec1605d8 (diff)
academic/mathomatic: Change i486 to i586
Diffstat (limited to 'academic')
-rw-r--r--academic/mathomatic/mathomatic.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/academic/mathomatic/mathomatic.SlackBuild b/academic/mathomatic/mathomatic.SlackBuild
index 498aab76d1d3..ec96c60228d3 100644
--- a/academic/mathomatic/mathomatic.SlackBuild
+++ b/academic/mathomatic/mathomatic.SlackBuild
@@ -34,7 +34,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 @@ 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"