aboutsummaryrefslogtreecommitdiff
path: root/development/newtonsoft-json/newtonsoft-json.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-02 18:15:00 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-06-03 07:59:51 +0700
commit471d1b3561921f83e5e3db0f86da1c4f02972cbf (patch)
tree92efde5b5c60bd0b55c883be1fa96c385a614516 /development/newtonsoft-json/newtonsoft-json.SlackBuild
parent408c1f6f1c51115415f0e3d648b9a1de80ab8096 (diff)
development/newtonsoft-json: Switch to i586.
This still failed to build. Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/newtonsoft-json/newtonsoft-json.SlackBuild')
-rw-r--r--development/newtonsoft-json/newtonsoft-json.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/newtonsoft-json/newtonsoft-json.SlackBuild b/development/newtonsoft-json/newtonsoft-json.SlackBuild
index 6d38568adc686..fb41f3f2efc56 100644
--- a/development/newtonsoft-json/newtonsoft-json.SlackBuild
+++ b/development/newtonsoft-json/newtonsoft-json.SlackBuild
@@ -29,7 +29,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
@@ -40,8 +40,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"