diff --git a/srcpkgs/x265/template b/srcpkgs/x265/template index 5c872e2e7fd..80561b477a4 100644 --- a/srcpkgs/x265/template +++ b/srcpkgs/x265/template @@ -14,6 +14,10 @@ homepage="http://x265.org/" distfiles="https://bitbucket.org/multicoreware/x265/downloads/x265_${version}.tar.gz" checksum=c5b9fc260cabbc4a81561a448f4ce9cad7218272b4011feabc3a6b751b2f0662 +case "$XBPS_TARGET_MACHINE" in + ppc64|ppc64-musl) configure_args+=" -DCPU_POWER8=OFF -DENABLE_ALTIVEC=OFF";; +esac + pre_configure() { if [ "$CROSS_BUILD" ]; then sed -i CMakeLists.txt -e "s; -mcpu=native;;"