aboutsummaryrefslogtreecommitdiff
path: root/development/leveldb
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-03-18 20:17:09 -0600
committerB. Watson <urchlay@slackware.uk>2022-06-07 02:23:15 -0400
commitbccca768b16c04337677fb65b3df9b325fc32f47 (patch)
treee1eb67843533230603a2b421f8b7d22e7185a2d4 /development/leveldb
parent8010498a0341cccadd2743e4d6bdc204684617ed (diff)
development/leveldb: Change i486 to i586
Diffstat (limited to 'development/leveldb')
-rw-r--r--development/leveldb/leveldb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/leveldb/leveldb.SlackBuild b/development/leveldb/leveldb.SlackBuild
index 34aec8f378bb..8b22919c21af 100644
--- a/development/leveldb/leveldb.SlackBuild
+++ b/development/leveldb/leveldb.SlackBuild
@@ -13,7 +13,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
@@ -31,8 +31,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"