lua: do not overwrite lua CFLAGS/LDFLAGS.
This commit is contained in:
parent
82add3c963
commit
82aebe9c56
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue