libvpx: make this build in all platforms (build with -fPIC).

This commit is contained in:
Juan RP 2014-01-19 11:31:41 +01:00
parent 6d089c733c
commit 60306a253d

View file

@ -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 \