aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-03-21 00:49:22 -0400
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-25 13:28:13 +0000
commitae4f9aed2fb166337129f7c46b3f4d0ce6a3b873 (patch)
treed5524d62e1823631891c20fdf475e9e95c35a043 /misc
parentee487d6a9bbe919eb40bcdbae219bba596b06073 (diff)
misc/par2cmdline-tbb: Allow VERSION override, i486=>i586.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index 17d2e6ad5284d..60218e29b7bcc 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -4,7 +4,7 @@
# Written by powtrix (@gmail.com)
PRGNAM=par2cmdline-tbb
-VERSION=0.4_20141125
+VERSION=${VERSION:-0.4_20141125}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -25,8 +25,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"