From d15248c18214f5973208bd84684fdc0eac7228e6 Mon Sep 17 00:00:00 2001 From: q66 Date: Thu, 15 Aug 2019 17:07:40 +0200 Subject: [PATCH] libvpx5: fix build on ppc32 [ci skip] --- srcpkgs/libvpx5/template | 6 ++++++ 1 file changed, 6 insertions(+) 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"