Mail archive
alpine-aports

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

From: Jonathan Curran <jonathan_at_curran.in>
Date: Wed, 9 Sep 2015 02:13:46 +0000

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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Sep 09 2015 - 02:13:46 GMT