diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-04-20 06:21:54 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-20 17:53:21 -0500 |
commit | 7b244c38ed2952ead50a9f5081d579ae20ef5277 (patch) | |
tree | 8ddfe5c2c46b1b3f3837a18641494bc7d1094fb0 /audio | |
parent | 0fde0c216f445374c292fd9e6d6baa2682ebe709 (diff) | |
download | slackbuilds-7b244c38ed2952ead50a9f5081d579ae20ef5277.tar.gz |
audio/tta: Fix i486 -> i586.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/tta/tta.SlackBuild | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/audio/tta/tta.SlackBuild b/audio/tta/tta.SlackBuild index 52edb60b70..a846acc40f 100644 --- a/audio/tta/tta.SlackBuild +++ b/audio/tta/tta.SlackBuild @@ -26,10 +26,11 @@ PRGNAM=tta VERSION=${VERSION:-2.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +SRCNAM="libtta-cpp" 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 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -56,8 +57,6 @@ fi set -e -SRCNAM="libtta-cpp" - rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT rm -rf $TMP/$PRGNAM-$VERSION |