aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-06-25 14:21:08 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2013-06-25 14:21:08 +0200
commit3eac3b21e7ded9c0d1d3c89ec77fe0857c72d450 (patch)
treeb5933310cb1f8cd3a47d75c0f930fb6e0085e3cb
parente333a00b759507cdeccf8fa04130f22a26c921b7 (diff)
downloadaports-3eac3b21e7ded9c0d1d3c89ec77fe0857c72d450.tar.bz2
aports-3eac3b21e7ded9c0d1d3c89ec77fe0857c72d450.tar.xz
testing/lua5.2-filesystem: build fix for x86_64
need specify -fPIC
-rw-r--r--testing/lua5.2-filesystem/APKBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/lua5.2-filesystem/APKBUILD b/testing/lua5.2-filesystem/APKBUILD
index 76daf16b35..7e038cd26d 100644
--- a/testing/lua5.2-filesystem/APKBUILD
+++ b/testing/lua5.2-filesystem/APKBUILD
@@ -21,7 +21,8 @@ prepare() {
build() {
cd "$_builddir"
- make CFLAGS="$CFLAGS $( pkg-config lua${_luaver} --cflags )" || return 1
+ make CFLAGS="$CFLAGS $( pkg-config lua${_luaver} --cflags ) -fPIC" \
+ || return 1
}
package() {