summaryrefslogtreecommitdiff
path: root/development/valkyrie/valkyrie.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-20 14:59:14 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:27:17 +0000
commite2e8276116af6ce5eca1de78b5ebb39c6963a87e (patch)
tree34b4bcb725bc51dac76c64da0bc2a095b88b2577 /development/valkyrie/valkyrie.SlackBuild
parent1db93b92adb94c923b960cebfedba67e32cf12e1 (diff)
downloadslackbuilds-e2e8276116af6ce5eca1de78b5ebb39c6963a87e.tar.gz
development/valkyrie: VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/valkyrie/valkyrie.SlackBuild')
-rw-r--r--development/valkyrie/valkyrie.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/development/valkyrie/valkyrie.SlackBuild b/development/valkyrie/valkyrie.SlackBuild
index a1e314315e..ab67c0c1e0 100644
--- a/development/valkyrie/valkyrie.SlackBuild
+++ b/development/valkyrie/valkyrie.SlackBuild
@@ -22,13 +22,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=valkyrie
-VERSION=2.0.0
+VERSION=${VERSION:-2.0.0}
BUILD=${BUILD:-3}
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
@@ -39,8 +39,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"