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 9338363d5..0effd2cac 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20130206
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=('f952248492745a077ad6a77465276166')
build() {
cd $pkgname
- ./configure --enable-shared
+ [ "$CARCH" = "mips64el" ] && extra="--enable-pic"
+
+ ./configure --enable-shared $extra
make
}