summaryrefslogtreecommitdiff
path: root/extra/lua
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-17 22:25:09 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2012-12-17 22:25:09 -0500
commitde4e00e52c5a601ee2aa4af0ddd5884afb61cb58 (patch)
treea12a9010f790450b5e226b0b114c992715d76142 /extra/lua
parentcaf34a561f7aee6d8f45ded0ac7395fc5e0ef477 (diff)
Fix builds of libircclient and lua
Diffstat (limited to 'extra/lua')
-rw-r--r--extra/lua/PKGBUILD2
1 files changed, 1 insertions, 1 deletions
diff --git a/extra/lua/PKGBUILD b/extra/lua/PKGBUILD
index cf6f3c389..5cc472505 100644
--- a/extra/lua/PKGBUILD
+++ b/extra/lua/PKGBUILD
@@ -22,7 +22,7 @@ md5sums=('ae08f641b45d737d12d30291a5e5f6e3'
build() {
cd $pkgname-$pkgver
patch -p1 -i "$srcdir/liblua.so.patch"
- [[ $CARCH == x86_64 ]] && export CFLAGS="$CFLAGS -fPIC"
+ [[ $CARCH != i686 ]] && export CFLAGS="$CFLAGS -fPIC"
make MYCFLAGS="$CFLAGS" MYLDFLAGS="$LDFLAGS" linux
sed "s/%VER%/${pkgver%.*}/g;s/%REL%/$pkgver/g" ../lua.pc > lua.pc
}