~alpine/aports

testing/fts: add -fPIC to CFLAGS v1 PROPOSED

Jonathan Curran
Jonathan Curran: 1
 testing/fts: add -fPIC to CFLAGS

 1 files changed, 1 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/1161/mbox | git am -3
Learn more about email & git

[alpine-aports] [PATCH] testing/fts: add -fPIC to CFLAGS Export this patch

Jonathan Curran
Simply adding -fPIC to CFLAGS when building.
---
 testing/fts/APKBUILD | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testing/fts/APKBUILD b/testing/fts/APKBUILD
index 8677a6b..eea918c 100644
--- a/testing/fts/APKBUILD
+++ b/testing/fts/APKBUILD
@@ -29,7 +29,7 @@ prepare() {
 build() {
 	cd "$_builddir"
 	./bootstrap.sh
-	./configure --build=$CBUILD \
+	CFLAGS=-fPIC ./configure --build=$CBUILD \
 		--host=$CHOST \
 		--prefix=/usr || return 1
 	make || return 1
-- 
2.4.1



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
View this thread in the archives