summaryrefslogtreecommitdiff
path: root/extra/lua/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/lua/PKGBUILD')
-rw-r--r--extra/lua/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index a2759612f..5cc472505 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -7,7 +7,7 @@ pkgname=lua
pkgver=5.2.1
pkgrel=3
pkgdesc='A powerful light-weight programming language designed for extending applications'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://www.lua.org/'
depends=('readline')
license=('MIT')
@@ -22,7 +22,7 @@ md5sums=('ae08f641b45d737d12d30291a5e5f6e3'
build() {
cd $pkgname-$pkgver
patch -p1 -i "$srcdir/liblua.so.patch"
- [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC"
+ [[ $CARCH != i686 ]] && export CFLAGS="$CFLAGS -fPIC"
make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux
sed "s/%VER%/${pkgver%.*}/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
}