extra/lua51: v8 update

This commit is contained in:
Kevin Mihelich 2015-07-11 05:20:52 +00:00
parent 33b4249888
commit d23bd7e166

View file

@ -4,7 +4,7 @@
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - use fPIC with armv7h
# - use fPIC with armv7h and aarch64
pkgname=lua51
pkgver=5.1.5
@ -31,7 +31,7 @@ prepare() {
build() {
cd lua-$pkgver
[[ $CARCH == armv7h ]] && export CFLAGS="$CFLAGS -fPIC"
[[ $CARCH == armv7h || $CARCH == aarch64 ]] && export CFLAGS="$CFLAGS -fPIC"
sed -e 's:llua:llua5.1:' -e 's:/include:/include/lua5.1:' -i etc/lua.pc
sed -r -e '/^LUA_(SO|A|T)=/ s/lua/lua5.1/' -e '/^LUAC_T=/ s/luac/luac5.1/' \
-i src/Makefile