summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 09:42:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit03b137db44e478a3a40be76467bdd316ff859603 (patch)
tree9dfeec8715d8a7dc4d0c447b315a96d863bbdc58
parent022cf8fefecad2fc5ca7826938ec4c9660bf891e (diff)
downloadslackbuilds-03b137db44e478a3a40be76467bdd316ff859603.tar.gz
libraries/secp256k1: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/secp256k1/secp256k1.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/secp256k1/secp256k1.SlackBuild b/libraries/secp256k1/secp256k1.SlackBuild
index dc2f3f61f8..4638d19204 100644
--- a/libraries/secp256k1/secp256k1.SlackBuild
+++ b/libraries/secp256k1/secp256k1.SlackBuild
@@ -30,7 +30,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -41,8 +41,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"