aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2016-11-08 18:42:34 +0200
committerDavid Spencer <idlemoor@slackbuilds.org>2016-11-11 20:36:30 +0000
commit38e0dbfcdf8de5e9fcb2d9a6bbeb210a74ce04ef (patch)
tree894d8d1a36fabc7369214830dfaa1827b1644780 /libraries
parent397ef60d4263a0a4efe6379cb8d35d66c6d77f0a (diff)
libraries/musicbrainzngs: Switch to i586.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/musicbrainzngs/musicbrainzngs.SlackBuild7
1 files changed, 3 insertions, 4 deletions
diff --git a/libraries/musicbrainzngs/musicbrainzngs.SlackBuild b/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
index 6bd952a9a6346..45e48d8d2fa88 100644
--- a/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
+++ b/libraries/musicbrainzngs/musicbrainzngs.SlackBuild
@@ -27,10 +27,9 @@ VERSION=${VERSION:-0.6}
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
@@ -41,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"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"