aboutsummaryrefslogtreecommitdiff
path: root/academic
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 19:01:46 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:04 -0400
commit46499f1218c765e9fa36e8597b4d3a59709881b0 (patch)
tree134e4fc36ded3507e5b25b4218e3189b96a0af4a /academic
parentf3ec309ae154feb8ce8ef93e4e38d638dd419050 (diff)
academic/libghemical: Change i486 to i586
Diffstat (limited to 'academic')
-rw-r--r--academic/libghemical/libghemical.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/academic/libghemical/libghemical.SlackBuild b/academic/libghemical/libghemical.SlackBuild
index 16627cf661e34..21465899c3d4d 100644
--- a/academic/libghemical/libghemical.SlackBuild
+++ b/academic/libghemical/libghemical.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"