diff options
-rw-r--r-- | extra/lua51/PKGBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/lua51/PKGBUILD b/extra/lua51/PKGBUILD index 691956910..11589a7f1 100644 --- a/extra/lua51/PKGBUILD +++ b/extra/lua51/PKGBUILD @@ -23,7 +23,7 @@ build() { cd lua-$pkgver patch -p1 -i "$srcdir/lua-arch.patch" patch -p1 -i "$srcdir/lua-5.1-cflags.diff" - [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC" + [[ $CARCH != i686 ]] && 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 make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux |