aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:31 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:24:03 -0400
commitaaaf883048838d12394dd5d80f413a64d680e8bd (patch)
tree1f3e6e4864c313c9d946b742fc3b3fcb6bc3a833 /libraries
parente1f7dbb9ab34e2ed7673d613b7b9d3ae95b6beb6 (diff)
libraries/netcdf: Change i486 to i586
Diffstat (limited to 'libraries')
-rw-r--r--libraries/netcdf/netcdf.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/netcdf/netcdf.SlackBuild b/libraries/netcdf/netcdf.SlackBuild
index 03aeb4800ca1..037e0913ff6a 100644
--- a/libraries/netcdf/netcdf.SlackBuild
+++ b/libraries/netcdf/netcdf.SlackBuild
@@ -36,7 +36,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
@@ -54,8 +54,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"