aboutsummaryrefslogtreecommitdiff
path: root/academic/parmetis
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
commit94894abf960f8bfb93673d6e97851334dd5322f3 (patch)
treecfeef9ed98a9ea7ef01de2a1a87bbfd4e1a109d2 /academic/parmetis
parente02bb33d5321bd2ffaf66fb8bc11e5e79955c2b3 (diff)
academic/parmetis: Change i486 to i586
Diffstat (limited to 'academic/parmetis')
-rw-r--r--academic/parmetis/parmetis.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/academic/parmetis/parmetis.SlackBuild b/academic/parmetis/parmetis.SlackBuild
index c106737a06b1e..6511e58083fab 100644
--- a/academic/parmetis/parmetis.SlackBuild
+++ b/academic/parmetis/parmetis.SlackBuild
@@ -34,7 +34,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)"
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"