lua: add PIC
This commit is contained in:
parent
e903b9a4c1
commit
1d87d38fde
@ -6,7 +6,7 @@
|
||||
|
||||
name=lua
|
||||
version=5.2.1
|
||||
release=1
|
||||
release=2
|
||||
source=(http://www.lua.org/ftp/$name-$version.tar.gz
|
||||
$name.diff)
|
||||
|
||||
@ -14,6 +14,7 @@ build() {
|
||||
cd $name-$version
|
||||
|
||||
patch -Np1 -i $SRC/$name.diff
|
||||
export CFLAGS="$CFLAGS -fPIC"
|
||||
|
||||
make linux
|
||||
make INSTALL_TOP=$PKG/usr install
|
||||
|
Loading…
x
Reference in New Issue
Block a user