diff options
author | B. Watson <yalhcru@gmail.com> | 2017-03-21 00:50:45 -0400 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-03-25 13:28:14 +0000 |
commit | a7bbcde4b7b33c301b88ee509d436e3a958f6844 (patch) | |
tree | 54d12e4090fc50801c97bd65ea880a98376bce94 /misc/uni2ascii | |
parent | 02dad3666989e4321e78a535a03e12734b4cde7e (diff) | |
download | slackbuilds-a7bbcde4b7b33c301b88ee509d436e3a958f6844.tar.gz |
misc/uni2ascii: 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/uni2ascii')
-rw-r--r-- | misc/uni2ascii/uni2ascii.SlackBuild | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/uni2ascii/uni2ascii.SlackBuild b/misc/uni2ascii/uni2ascii.SlackBuild index ef11e03494..2c49bb3bc4 100644 --- a/misc/uni2ascii/uni2ascii.SlackBuild +++ b/misc/uni2ascii/uni2ascii.SlackBuild @@ -4,13 +4,13 @@ # Written by Oleg O. Chukaev <oleg.chukaev@mail.ru> PRGNAM=uni2ascii -VERSION=4.18 +VERSION=${VERSION:-4.18} 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 @@ -21,8 +21,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" |