libvpx: make this build in all platforms (build with -fPIC).
This commit is contained in:
parent
6d089c733c
commit
60306a253d
1 changed files with 2 additions and 1 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue