From f1677186b7b777b7df4af70746fadcd70e8fecdc Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Mon, 20 Mar 2017 22:46:46 -0400 Subject: audio/celt051: Allow VERSION override, i486=>i586. Signed-off-by: B. Watson Signed-off-by: David Spencer --- audio/celt051/celt051.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'audio') diff --git a/audio/celt051/celt051.SlackBuild b/audio/celt051/celt051.SlackBuild index 14733554f7..14ec006214 100644 --- a/audio/celt051/celt051.SlackBuild +++ b/audio/celt051/celt051.SlackBuild @@ -25,13 +25,13 @@ # forked of celt slackbuild by Matteo Bernardini PRGNAM=celt051 -VERSION=0.5.1.3 +VERSION=${VERSION:-0.5.1.3} BUILD=${BUILD:-1} 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 @@ -42,8 +42,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" -- cgit v1.2.3