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 \