summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-24 09:34:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-25 07:04:49 +0700
commit8361b43cf22f013f590da9152d132fdcf0d35b7e (patch)
tree39f60db97d305d39db239edc4ea32eb6f807a4a9
parentbc91196e09286ca01add4ef67a5efea709c0f043 (diff)
downloadslackbuilds-8361b43cf22f013f590da9152d132fdcf0d35b7e.tar.gz
libraries/SlowAES: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/SlowAES/SlowAES.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/SlowAES/SlowAES.SlackBuild b/libraries/SlowAES/SlowAES.SlackBuild
index 50b97e5fbd..4bf3baae56 100644
--- a/libraries/SlowAES/SlowAES.SlackBuild
+++ b/libraries/SlowAES/SlowAES.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for SlowAES
-# Copyright 2014 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2014-2016 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -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"