summaryrefslogtreecommitdiff
path: root/extra/x264/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/x264/PKGBUILD')
-rw-r--r--extra/x264/PKGBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD
index 4979b34ce..30cf3c990 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20120204
pkgrel=1
pkgdesc="free library for encoding H264/AVC video streams"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url="http://www.videolan.org/developers/x264.html"
license=('GPL')
depends=('glibc')
@@ -18,7 +18,9 @@ md5sums=('4d793ecc4f9d308724ea47edf400f312')
build() {
cd "$srcdir/$pkgname-snapshot-$pkgver-2245-stable"
- ./configure --enable-shared
+ [ "$CARCH" = "mips64el" ] && extra="--enable-pic"
+
+ ./configure --enable-shared $extra
make
}