aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 09:37:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit798c4356ba01113171807299cb4640c5a32e6f16 (patch)
treec8c02efe51138ceec1bdcc2c3e8ad2195b058aee
parent29ee054c9556cbf019d42340aae09c9cb4bd55c1 (diff)
libraries/liburcu: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/liburcu/liburcu.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/liburcu/liburcu.SlackBuild b/libraries/liburcu/liburcu.SlackBuild
index 5ea701954d402..2e06593862648 100644
--- a/libraries/liburcu/liburcu.SlackBuild
+++ b/libraries/liburcu/liburcu.SlackBuild
@@ -30,7 +30,7 @@ SRCNAM=userspace-rcu
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"