summaryrefslogtreecommitdiff
path: root/extra/libvorbis/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libvorbis/PKGBUILD')
-rw-r--r--extra/libvorbis/PKGBUILD10
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/libvorbis/PKGBUILD b/extra/libvorbis/PKGBUILD
index b144a90b1..2c7b35a34 100644
--- a/extra/libvorbis/PKGBUILD
+++ b/extra/libvorbis/PKGBUILD
@@ -5,9 +5,9 @@
pkgname=libvorbis
pkgver=1.3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Vorbis codec library"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
license=('custom')
url="http://www.xiph.org/ogg/vorbis/"
depends=('libogg')
@@ -18,7 +18,11 @@ md5sums=('c870b9bd5858a0ecb5275c14486d9554')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
#-march=i686 optimizes too much, strip it out
- CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
+ if [ "$CARCH" = "mips64el" ]; then
+ CFLAGS=${CFLAGS/loongson2f/mips3} ./configure --prefix=/usr --disable-static
+ else
+ CFLAGS=${CFLAGS/-march=$CARCH} ./configure --prefix=/usr --disable-static
+ fi
make
}