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'
|
# Template file for 'libvpx'
|
||||||
pkgname=libvpx
|
pkgname=libvpx
|
||||||
version=1.2.0
|
version=1.2.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="${pkgname}-v${version}"
|
wrksrc="${pkgname}-v${version}"
|
||||||
hostmakedepends="which perl yasm"
|
hostmakedepends="which perl yasm"
|
||||||
short_desc="The VP8 Codec"
|
short_desc="The VP8 Codec"
|
||||||
|
@ -18,6 +18,7 @@ do_configure() {
|
||||||
sed -e "s,generic-gnu,$XBPS_CROSS_TRIPLET," -i configure
|
sed -e "s,generic-gnu,$XBPS_CROSS_TRIPLET," -i configure
|
||||||
_cross="--target=$XBPS_CROSS_TRIPLET"
|
_cross="--target=$XBPS_CROSS_TRIPLET"
|
||||||
fi
|
fi
|
||||||
|
CFLAGS+=" -fPIC"
|
||||||
|
|
||||||
./configure --enable-vp8 --enable-runtime-cpu-detect --enable-shared \
|
./configure --enable-vp8 --enable-runtime-cpu-detect --enable-shared \
|
||||||
--enable-postproc --enable-pic --disable-install-docs \
|
--enable-postproc --enable-pic --disable-install-docs \
|
||||||
|
|
Loading…
Reference in a new issue