diff options
Diffstat (limited to 'extra/x264/PKGBUILD')
-rw-r--r-- | extra/x264/PKGBUILD | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/extra/x264/PKGBUILD b/extra/x264/PKGBUILD index f4a242d4b..a7188e716 100644 --- a/extra/x264/PKGBUILD +++ b/extra/x264/PKGBUILD @@ -7,7 +7,7 @@ pkgname=x264 pkgver=20121113 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=('c37851c8534ef5d7b1935145f8f5a725') build() { cd "$pkgname-snapshot-$pkgver-2245-stable" - ./configure --enable-shared + [ "$CARCH" = "mips64el" ] && extra="--enable-pic" + + ./configure --enable-shared $extra make } |