libvpx5: fix build on ppc32

[ci skip]
This commit is contained in:
q66 2019-08-15 17:07:40 +02:00 committed by Helmut Pozimski
parent 6c68925577
commit d15248c182

View file

@ -20,6 +20,12 @@ do_configure() {
armv7*) _cross="--target=armv7-linux-gcc";;
*) _cross="--target=generic-gnu";;
esac
else
# ppc32 is not a supported config, force generic-gnu
case "$XBPS_TARGET_MACHINE" in
ppc64*) ;;
ppc*) _cross="--target=generic-gnu";;
esac
fi
CFLAGS+=" -fPIC"