summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r--community/luajit/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
index 497e28d5a..4751c7273 100644
--- a/community/luajit/PKGBUILD
+++ b/community/luajit/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=luajit
pkgver=2.0.2
pkgrel=1
pkgdesc='Just-in-time compiler and drop-in replacement for Lua 5.1'
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://luajit.org/'
license=('MIT')
depends=('gcc-libs')
@@ -17,6 +17,9 @@ sha256sums=('c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38')
build() {
cd $srcdir/LuaJIT-$pkgver
+
+ [ "$CARCH" = "mips64el" ] && extra="XCFLAGS=-DLUAJIT_DISABLE_JIT"
+
make amalg PREFIX=/usr
}