libmpeg2: Explicitly disable altivec on ppc
This commit is contained in:
parent
dba811d617
commit
c847dcd8a5
1 changed files with 4 additions and 0 deletions
|
@ -13,6 +13,10 @@ homepage="http://libmpeg2.sourceforge.net/"
|
||||||
distfiles="http://libmpeg2.sourceforge.net/files/libmpeg2-${version}.tar.gz"
|
distfiles="http://libmpeg2.sourceforge.net/files/libmpeg2-${version}.tar.gz"
|
||||||
checksum=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
|
checksum=dee22e893cb5fc2b2b6ebd60b88478ab8556cb3b93f9a0d7ce8f3b61851871d4
|
||||||
|
|
||||||
|
case "$XBPS_MACHINE" in
|
||||||
|
ppc|ppc-musl) CFLAGS+=" -mno-altivec" ;;
|
||||||
|
esac
|
||||||
|
|
||||||
libmpeg2-devel_package() {
|
libmpeg2-devel_package() {
|
||||||
depends="libmpeg2>=${version}_${revision}"
|
depends="libmpeg2>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
|
|
Loading…
Reference in a new issue