x265: disable altivec and power8 on ppc64{,-musl}
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
3300241f5d
commit
4b1dc0836a
1 changed files with 4 additions and 0 deletions
|
@ -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;;"
|
||||
|
|
Loading…
Reference in a new issue