diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-27 09:47:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-27 09:47:01 +0000 |
commit | add4fdd4a7eab526b3f599a14a1a522482bc278e (patch) | |
tree | df931f19ee4717b5654a417a1fde3523098f852f | |
parent | 7959f3704ef6711fa17f343b9561d0f8d141248c (diff) | |
download | aports-add4fdd4a7eab526b3f599a14a1a522482bc278e.tar.bz2 aports-add4fdd4a7eab526b3f599a14a1a522482bc278e.tar.xz |
testing/lua-rex: build with -fPIC
-rw-r--r-- | testing/lua-rex/APKBUILD | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/lua-rex/APKBUILD b/testing/lua-rex/APKBUILD index 4f7bce0891..04fb749703 100644 --- a/testing/lua-rex/APKBUILD +++ b/testing/lua-rex/APKBUILD @@ -1,5 +1,4 @@ -# Contributor: -# Maintainer: +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=lua-rex pkgver=2.4.0 pkgrel=1 @@ -16,7 +15,7 @@ _builddir="$srcdir"/lrexlib-$pkgver prepare() { cd "$_builddir" - sed -i -e "s/^MYCFLAGS.*/MYCFLAGS = $CFLAGS/" src/defaults.mak + sed -i -e "s/^MYCFLAGS.*/MYCFLAGS = $CFLAGS -fPIC/" src/defaults.mak sed -i -e "s/^LD .*/LD = gcc/" \ src/common.mak } |