mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-27 23:44:04 +00:00
extra/lua51: v8 update
This commit is contained in:
parent
33b4249888
commit
d23bd7e166
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue