aboutsummaryrefslogtreecommitdiff
path: root/libraries/libofa
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 21:19:24 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:24:01 -0400
commite7483de97a6f3973e13b61c0c23e619948b2bf5a (patch)
treeb1269356647cd38a0454b991967e3e39a6d22c9b /libraries/libofa
parentff0c2bfb0afd01b5f9d3513747c9b98681c35b2a (diff)
libraries/libofa: Change i486 to i586
Diffstat (limited to 'libraries/libofa')
-rw-r--r--libraries/libofa/libofa.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/libofa/libofa.SlackBuild b/libraries/libofa/libofa.SlackBuild
index efae10917128..404fc238d162 100644
--- a/libraries/libofa/libofa.SlackBuild
+++ b/libraries/libofa/libofa.SlackBuild
@@ -12,7 +12,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
@@ -30,8 +30,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"