summaryrefslogtreecommitdiff
path: root/development/opencvs/opencvs.SlackBuild
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:17:11 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:16 -0400
commit51d98093426a4d0a69e7da76606edbb69d3dd5f6 (patch)
treecfe74f6dae057f3747219718694b17eb4b9542b5 /development/opencvs/opencvs.SlackBuild
parent8864e1948d5c99b822e0fba0d5d0a6683654fc5c (diff)
downloadslackbuilds-51d98093426a4d0a69e7da76606edbb69d3dd5f6.tar.gz
development/opencvs: Change i486 to i586
Diffstat (limited to 'development/opencvs/opencvs.SlackBuild')
-rw-r--r--development/opencvs/opencvs.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/opencvs/opencvs.SlackBuild b/development/opencvs/opencvs.SlackBuild
index 9eda4d624f..35755d19fb 100644
--- a/development/opencvs/opencvs.SlackBuild
+++ b/development/opencvs/opencvs.SlackBuild
@@ -35,7 +35,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
@@ -53,8 +53,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"