lua: do not overwrite lua CFLAGS/LDFLAGS.

This commit is contained in:
Juan RP 2013-10-10 11:30:16 +02:00
parent 82add3c963
commit 82aebe9c56

View File

@ -1,7 +1,7 @@
# Template file for 'lua'
pkgname=lua
version=5.2.2
revision=1
revision=2
makedepends="ncurses-devel readline-devel"
short_desc="Powerful, fast, lightweight, embeddable scripting language"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -19,7 +19,8 @@ long_desc="
do_build() {
sed "s/%VER%/${version%.*}/g;s/%REL%/$version/g" ${FILESDIR}/lua.pc > lua.pc
make CFLAGS="$CFLAGS -fPIC" CC="$CC" RANLIB="$RANLIB" \
make MYCFLAGS="$CFLAGS -fPIC" MYLDFLAGS="$LDFLAGS" \
CC="$CC" RANLIB="$RANLIB" \
INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
}