From fa4cd82e3153931194f0ddfcb21777ad6d40c7fe Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 2 May 2015 05:54:21 +0200 Subject: [PATCH] xz: force -fPIC to unbreak mips-musl build. --- srcpkgs/xz/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xz/template b/srcpkgs/xz/template index 08a81365460..08a33cbbad3 100644 --- a/srcpkgs/xz/template +++ b/srcpkgs/xz/template @@ -1,7 +1,7 @@ # Template file for 'xz' pkgname=xz version=5.2.1 -revision=2 +revision=3 bootstrap=yes build_pie=yes build_style=gnu-configure @@ -12,6 +12,8 @@ homepage="http://tukaani.org/xz" distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2" checksum=679148f497e0bff2c1adce42dee5a23f746e71321c33ebb0f641a302e30c2a80 +CFLAGS="-fPIC" + post_install() { rm -r ${DESTDIR}/usr/share/doc }