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 4c986ee9c..742ca7d6d 100644
--- a/extra/x264/PKGBUILD
+++ b/extra/x264/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=x264
pkgver=20120705
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=('81e5bec5d5774a4a3f567f14bd94289c')
build() {
cd "$pkgname-snapshot-$pkgver-2245-stable"
- ./configure --enable-shared
+ [ "$CARCH" = "mips64el" ] && extra="--enable-pic"
+
+ ./configure --enable-shared $extra
make
}