summaryrefslogtreecommitdiff
path: root/community/luajit/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r--community/luajit/PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD
index a073f48fb..0db24b3ed 100644
--- a/community/luajit/PKGBUILD
+++ b/community/luajit/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=luajit
pkgver=2.0.2
pkgrel=2
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,7 @@ sha256sums=('c05202974a5890e777b181908ac237625b499aece026654d7cc33607e3f46c38')
build() {
cd LuaJIT-$pkgver
+ [ "$CARCH" = "mips64el" ] && extra="XCFLAGS=-DLUAJIT_DISABLE_JIT"
make amalg PREFIX=/usr
}