diff --git a/srcpkgs/libvpx5/template b/srcpkgs/libvpx5/template index 9aae59228ea..d6ce843134a 100644 --- a/srcpkgs/libvpx5/template +++ b/srcpkgs/libvpx5/template @@ -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"