aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 19:01:43 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:02 -0400
commitd92ea38d82a64375d3c89c450d53624594c94cad (patch)
tree437e6c41e6a0e6f0723c9b535088fd44fbb093f6 /academic
parent2da0a67579d980bc2367216173942ac2acc736dd (diff)
academic/PyAMG: Change i486 to i586
Diffstat (limited to 'academic')
-rw-r--r--academic/PyAMG/PyAMG.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/academic/PyAMG/PyAMG.SlackBuild b/academic/PyAMG/PyAMG.SlackBuild
index 6b17681db10b1..3b16dca8b5173 100644
--- a/academic/PyAMG/PyAMG.SlackBuild
+++ b/academic/PyAMG/PyAMG.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
@@ -50,8 +50,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"