diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 00:41:51 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:11 +0000 |
commit | 1ab505cb4efa2f89a2715d3f087e49014dd41208 (patch) | |
tree | 7e9140d6f490dfa60bd938c28e1934ae3ffc5ed4 /misc | |
parent | af2480500429ca752c91ec37c26a094346e319bd (diff) | |
download | slackbuilds-1ab505cb4efa2f89a2715d3f087e49014dd41208.tar.gz |
misc/ciso: 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/ciso/ciso.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/ciso/ciso.SlackBuild b/misc/ciso/ciso.SlackBuild index c873512d2e..e478ec7fd5 100644 --- a/misc/ciso/ciso.SlackBuild +++ b/misc/ciso/ciso.SlackBuild @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ciso -VERSION=1.0.0 +VERSION=${VERSION:-1.0.0} 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 @@ -40,8 +40,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 |