xz: force -fPIC to unbreak mips-musl build.

This commit is contained in:
Juan RP 2015-05-02 05:54:21 +02:00
parent cf1b7e7849
commit fa4cd82e31

View file

@ -1,7 +1,7 @@
# Template file for 'xz' # Template file for 'xz'
pkgname=xz pkgname=xz
version=5.2.1 version=5.2.1
revision=2 revision=3
bootstrap=yes bootstrap=yes
build_pie=yes build_pie=yes
build_style=gnu-configure build_style=gnu-configure
@ -12,6 +12,8 @@ homepage="http://tukaani.org/xz"
distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2" distfiles="http://tukaani.org/xz/xz-${version}.tar.bz2"
checksum=679148f497e0bff2c1adce42dee5a23f746e71321c33ebb0f641a302e30c2a80 checksum=679148f497e0bff2c1adce42dee5a23f746e71321c33ebb0f641a302e30c2a80
CFLAGS="-fPIC"
post_install() { post_install() {
rm -r ${DESTDIR}/usr/share/doc rm -r ${DESTDIR}/usr/share/doc
} }