diff options
Diffstat (limited to 'community/luajit/PKGBUILD')
-rw-r--r-- | community/luajit/PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/community/luajit/PKGBUILD b/community/luajit/PKGBUILD index d523e7815..d2221f378 100644 --- a/community/luajit/PKGBUILD +++ b/community/luajit/PKGBUILD @@ -6,9 +6,9 @@ pkgname=luajit pkgver=2.0.0 -pkgrel=3 +pkgrel=3.1 pkgdesc='Just-in-time compiler and replacement for Lua 5.1' -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'mips64el') url='http://luajit.org/' license=('MIT') depends=('gcc-libs') @@ -17,7 +17,10 @@ md5sums=('97a2b87cc0490784f54b64cfb3b8f5ad') build() { cd $srcdir/LuaJIT-$pkgver - make amalg PREFIX=/usr + + [ "$CARCH" = "mips64el" ] && extra="XCFLAGS=-DLUAJIT_DISABLE_JIT" + + make amalg PREFIX=/usr $extra } package() { |