commit: 421b6f443ceceb7f50d1802845c0a169c7257d1e Author: Stephan Hartmann <stha09 <AT> googlemail <DOT> com> AuthorDate: Tue Nov 19 15:59:08 2019 +0000 Commit: Mike Gilbert <floppym <AT> gentoo <DOT> org> CommitDate: Wed Nov 20 19:28:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=421b6f44
media-libs/libvpx: fix building on ppc Closes: https://bugs.gentoo.org/694368 Thanks-to: ernsteiswuerfel <erhard_f <AT> mailbox.org> Package-Manager: Portage-2.3.76, Repoman-2.3.16 Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com> Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/13714 media-libs/libvpx/libvpx-1.7.0.ebuild | 3 +++ media-libs/libvpx/libvpx-1.8.0-r1.ebuild | 3 +++ media-libs/libvpx/libvpx-1.8.0.ebuild | 3 +++ 3 files changed, 9 insertions(+) diff --git a/media-libs/libvpx/libvpx-1.7.0.ebuild b/media-libs/libvpx/libvpx-1.7.0.ebuild index 877d221cedb..752360e5cbe 100644 --- a/media-libs/libvpx/libvpx-1.7.0.ebuild +++ b/media-libs/libvpx/libvpx-1.7.0.ebuild @@ -95,6 +95,9 @@ multilib_src_configure() { x86_64*) export AS=yasm;; esac + # powerpc toolchain is not recognized anymore, #694368 + [[ ${CHOST} == powerpc-* ]] && myconfargs+=( --force-target=generic-gnu ) + # Build with correct toolchain. tc-export CC CXX AR NM # Link with gcc by default, the build system should override this if needed. diff --git a/media-libs/libvpx/libvpx-1.8.0-r1.ebuild b/media-libs/libvpx/libvpx-1.8.0-r1.ebuild index 9c2b048cea4..f0bd9584749 100644 --- a/media-libs/libvpx/libvpx-1.8.0-r1.ebuild +++ b/media-libs/libvpx/libvpx-1.8.0-r1.ebuild @@ -84,6 +84,9 @@ multilib_src_configure() { x86_64*) export AS=yasm;; esac + # powerpc toolchain is not recognized anymore, #694368 + [[ ${CHOST} == powerpc-* ]] && myconfargs+=( --force-target=generic-gnu ) + # Build with correct toolchain. tc-export CC CXX AR NM # Link with gcc by default, the build system should override this if needed. diff --git a/media-libs/libvpx/libvpx-1.8.0.ebuild b/media-libs/libvpx/libvpx-1.8.0.ebuild index 5d7954ec89c..a05ed4eb72f 100644 --- a/media-libs/libvpx/libvpx-1.8.0.ebuild +++ b/media-libs/libvpx/libvpx-1.8.0.ebuild @@ -96,6 +96,9 @@ multilib_src_configure() { x86_64*) export AS=yasm;; esac + # powerpc toolchain is not recognized anymore, #694368 + [[ ${CHOST} == powerpc-* ]] && myconfargs+=( --force-target=generic-gnu ) + # Build with correct toolchain. tc-export CC CXX AR NM # Link with gcc by default, the build system should override this if needed.
