aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorDavid Woodfall <dave@dawoodfall.net>2018-03-27 12:30:18 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-31 07:41:31 +0700
commitc194f9e891d4bfc3c8f9dd01e0d294578aeb678e (patch)
treebb320901ceaf8adf5a706a8e34ffde32a32c9f03 /development
parent57694768e2ad31e60b25d59c35d0b704be8122ab (diff)
development/shed: Switch to i586.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/shed/shed.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/development/shed/shed.SlackBuild b/development/shed/shed.SlackBuild
index 8d8006d16ff1..078b3eb5616e 100644
--- a/development/shed/shed.SlackBuild
+++ b/development/shed/shed.SlackBuild
@@ -25,12 +25,12 @@
PRGNAM=shed
VERSION=${VERSION:-1.15}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
@@ -53,7 +53,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT