summaryrefslogtreecommitdiffstats
path: root/audio/tta
diff options
context:
space:
mode:
Diffstat (limited to 'audio/tta')
-rw-r--r--audio/tta/tta.SlackBuild9
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