lua: do not overwrite lua CFLAGS/LDFLAGS.
This commit is contained in:
parent
82add3c963
commit
82aebe9c56
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'lua'
|
# Template file for 'lua'
|
||||||
pkgname=lua
|
pkgname=lua
|
||||||
version=5.2.2
|
version=5.2.2
|
||||||
revision=1
|
revision=2
|
||||||
makedepends="ncurses-devel readline-devel"
|
makedepends="ncurses-devel readline-devel"
|
||||||
short_desc="Powerful, fast, lightweight, embeddable scripting language"
|
short_desc="Powerful, fast, lightweight, embeddable scripting language"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -19,7 +19,8 @@ long_desc="
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed "s/%VER%/${version%.*}/g;s/%REL%/$version/g" ${FILESDIR}/lua.pc > lua.pc
|
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
|
INSTALL_DATA="cp -d" LUA_SO=liblua.so ${makejobs} linux
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue