aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 15:33:33 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:19 +0000
commit46a8415cc0a50e43a56a3ba665b9aa3b45fe5592 (patch)
tree154ae1214ead647b4f07ed583fb8d7f07e7e4781
parent9252d46d53cd94f8b18bfaf8686a4b240c6bd0eb (diff)
development/gedit: Fix TAG, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--development/gedit/gedit.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/gedit/gedit.SlackBuild b/development/gedit/gedit.SlackBuild
index 010096039bd3f..9ed2ab95c628d 100644
--- a/development/gedit/gedit.SlackBuild
+++ b/development/gedit/gedit.SlackBuild
@@ -26,11 +26,11 @@
PRGNAM=gedit
VERSION=${VERSION:-2.30.4}
BUILD=${BUILD:-2}
-TAG=${TAG=_SBo}
+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"