From 60306a253dcd4fa2d7b55f9792cc4143758c2b2a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 19 Jan 2014 11:31:41 +0100 Subject: [PATCH] libvpx: make this build in all platforms (build with -fPIC). --- srcpkgs/libvpx/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libvpx/template b/srcpkgs/libvpx/template index cc66f15ea5..e4b605c9c1 100644 --- a/srcpkgs/libvpx/template +++ b/srcpkgs/libvpx/template @@ -1,7 +1,7 @@ # Template file for 'libvpx' pkgname=libvpx version=1.2.0 -revision=1 +revision=2 wrksrc="${pkgname}-v${version}" hostmakedepends="which perl yasm" short_desc="The VP8 Codec" @@ -18,6 +18,7 @@ do_configure() { sed -e "s,generic-gnu,$XBPS_CROSS_TRIPLET," -i configure _cross="--target=$XBPS_CROSS_TRIPLET" fi + CFLAGS+=" -fPIC" ./configure --enable-vp8 --enable-runtime-cpu-detect --enable-shared \ --enable-postproc --enable-pic --disable-install-docs \